Document the QPainter::HighQualityAntialiasing render hint as obsolete.

It was only used in the now removed OpenGL 1.x paint engine.

Change-Id: I2237172de700bfd31ca25279fbed21d601785962
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Samuel Rødal 2013-02-12 08:26:17 +01:00 committed by The Qt Project
parent 4aa86461eb
commit 1f5b10281f

View File

@ -1155,9 +1155,6 @@ void QPainterPrivate::updateState(QPainterState *newState)
should antialias text if possible, and the \l should antialias text if possible, and the \l
{RenderHint}{QPainter::SmoothPixmapTransform} indicates that the {RenderHint}{QPainter::SmoothPixmapTransform} indicates that the
engine should use a smooth pixmap transformation algorithm. engine should use a smooth pixmap transformation algorithm.
\l {RenderHint}{HighQualityAntialiasing} is an OpenGL-specific rendering hint
indicating that the engine should use fragment programs and offscreen
rendering for antialiasing.
The renderHints() function returns a flag that specifies the The renderHints() function returns a flag that specifies the
rendering hints that are set for this painter. Use the rendering hints that are set for this painter. Use the
@ -1409,9 +1406,8 @@ void QPainterPrivate::updateState(QPainterState *newState)
a smooth pixmap transformation algorithm (such as bilinear) rather a smooth pixmap transformation algorithm (such as bilinear) rather
than nearest neighbor. than nearest neighbor.
\value HighQualityAntialiasing An OpenGL-specific rendering hint \value HighQualityAntialiasing This value is obsolete and will be ignored,
indicating that the engine should use fragment programs and offscreen use the Antialiasing render hint instead.
rendering for antialiasing.
\value NonCosmeticDefaultPen This value is obsolete, the default for QPen \value NonCosmeticDefaultPen This value is obsolete, the default for QPen
is now non-cosmetic. is now non-cosmetic.