[Qt-interest] How do I know my antialiazing hints are being respected or not
Parta
lists4pghanghas at gmail.com
Fri May 21 15:36:11 CEST 2010
Hi
How do I know my antialiazing hints are being respected or not. And
what are the scenarios where anti-aliasing is not possible.
I could find only this line regarding this in qt docs, though repeated
at a lot of places.
"QPainter::Antialiasing value indicates that the engine should
antialias edges of primitives if possible" unless I have missed
something else which is not unlikely.
And How do I know Qt is using subpixel rendering for antialiasing. I
have a directFb device and I dont have opengl. So according to the
following piece from documentation I assume that my paint engine is
raster based.
"Qt 4.0 provides several premade implementations of QPaintEngine for
the different painter backends we support. We provide one paint engine
for each window system and painting framework we support. This
includes X11 on Unix/Linux and CoreGraphics on Mac OS X. In addition
we provide QPaintEngine implementations for OpenGL (accessible through
QGLWidget) and PostScript (accessible through QPSPrinter on X11).
Additionally there is a raster-based paint engine that is a fallback
for when an engine does not support a certain capability."
Does that mean that my Antialiasing hints are always respected with
subpixelling.
--
Thanks,
PSG
More information about the Qt-interest-old
mailing list