Hello Nyall,

yes, content rendered to QPainter is rendered as vector object (except images, of course). It is a big advantage - the rendering in the viewer has two stages - in the first stage, page content is being prepared as a vector graphics (this can be time consuming, because, for example, image decoding and color management can take time) and then prepared pages are rendered onto the widget (or the QPainter). So, zoom is very quick, because I just re-render prepared vector graphics.

Best regards,
Jakub Melka

Dne 24.09.2021 v 1:22 Nyall Dawson napsal(a):
Thanks for the announcement Jakub! I had a quick look at the repo and
I'm very happy to see that your library supports rendering PDF content
directly to a QPainter. That's something I've loooong desired!

One quick question regarding this: is content rendered to QPainter
devices as vector objects? Or is the PDF content rasterised and the
drawn as images to the painter?

Kind regards,
Nyall



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to