diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-06-02 08:17:29 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-06-02 08:17:29 (GMT) |
commit | 932b4b95cf4c7cc250b2c3f23d9b903292f84ab4 (patch) | |
tree | 376507bb0a08feab43e3c21c834e8cf056ecc77a /doc | |
parent | e85d90b6d4aa475f5529fb1e3a40fe3afb7f8480 (diff) | |
parent | d374883cd9f5a773787c2907be3d8d7b31fd0f2b (diff) | |
download | Qt-932b4b95cf4c7cc250b2c3f23d9b903292f84ab4.zip Qt-932b4b95cf4c7cc250b2c3f23d9b903292f84ab4.tar.gz Qt-932b4b95cf4c7cc250b2c3f23d9b903292f84ab4.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Clipping with rounded rectangles and QVG_SCISSOR_CLIP
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/howtos/openvg.qdoc | 5 | ||||
-rw-r--r-- | doc/src/platforms/emb-openvg.qdocinc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/src/howtos/openvg.qdoc b/doc/src/howtos/openvg.qdoc index e448d9c..f4a34cd 100644 --- a/doc/src/howtos/openvg.qdoc +++ b/doc/src/howtos/openvg.qdoc @@ -262,7 +262,10 @@ The QVG_SCISSOR_CLIP define will disable clipping with vgMask() or vgRenderToMask() and instead use the scissor rectangle list to perform - clipping. Clipping with an arbitrary QPainterPath will not be supported. + clipping. Clipping with an arbitrary QPainterPath will need to convert + the path into a series of rectangles. If the number of rectangles + exceeds VG_MAX_SCISSOR_RECTS, then the results will not be exact. + The QVG_SCISSOR_CLIP define should only be used if the OpenVG engine does not support vgMask() or vgRenderToMask(). diff --git a/doc/src/platforms/emb-openvg.qdocinc b/doc/src/platforms/emb-openvg.qdocinc index 579af67..877d70c 100644 --- a/doc/src/platforms/emb-openvg.qdocinc +++ b/doc/src/platforms/emb-openvg.qdocinc @@ -225,7 +225,9 @@ The QVG_NO_RENDER_TO_MASK define will disable the use of vgRenderToMask(). The QVG_SCISSOR_CLIP define will disable clipping with vgMask() or vgRenderToMask() and instead use the scissor rectangle list to perform -clipping. Clipping with an arbitrary QPainterPath will not be supported. +clipping. Clipping with an arbitrary QPainterPath will need to convert +the path into a series of rectangles. If the number of rectangles +exceeds VG_MAX_SCISSOR_RECTS, then the results will not be exact. The QVG_SCISSOR_CLIP define should only be used if the OpenVG engine does not support vgMask() or vgRenderToMask(). |