Doc: Fix typo and add precision to method description
As transform() returns worldTransform(), point out that it is an alias in its description. Fixes: QTBUG-18117 Change-Id: I0eb1f78c6955b499906024105f9969cdccf13303 Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
parent
003a356403
commit
cfb8d70888
@ -1297,7 +1297,7 @@ void QPainterPrivate::updateState(QPainterState *newState)
|
|||||||
itself and its bounding rectangle: The bounding rect contains
|
itself and its bounding rectangle: The bounding rect contains
|
||||||
pixels with alpha == 0 (i.e the pixels surrounding the
|
pixels with alpha == 0 (i.e the pixels surrounding the
|
||||||
primitive). These pixels will overwrite the other image's pixels,
|
primitive). These pixels will overwrite the other image's pixels,
|
||||||
affectively clearing those, while the primitive only overwrites
|
effectively clearing those, while the primitive only overwrites
|
||||||
its own area.
|
its own area.
|
||||||
|
|
||||||
\table 100%
|
\table 100%
|
||||||
@ -1387,7 +1387,7 @@ void QPainterPrivate::updateState(QPainterState *newState)
|
|||||||
clip.
|
clip.
|
||||||
|
|
||||||
\li Composition Modes \c QPainter::CompositionMode_Source and
|
\li Composition Modes \c QPainter::CompositionMode_Source and
|
||||||
QPainter::CompositionMode_SourceOver
|
QPainter::CompositionMode_SourceOver.
|
||||||
|
|
||||||
\li Rounded rectangle filling using solid color and two-color
|
\li Rounded rectangle filling using solid color and two-color
|
||||||
linear gradients fills.
|
linear gradients fills.
|
||||||
@ -8259,6 +8259,7 @@ void QPainter::setTransform(const QTransform &transform, bool combine )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Alias for worldTransform().
|
||||||
Returns the world transformation matrix.
|
Returns the world transformation matrix.
|
||||||
|
|
||||||
\sa worldTransform()
|
\sa worldTransform()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user