summaryrefslogtreecommitdiffstats
path: root/doc/src/howtos/openvg.qdoc
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-20 23:22:07 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-20 23:22:07 (GMT)
commit1b8d92b1ae453bd2d395658c7086d0049916e88f (patch)
tree5d2c7f6e879af1b029653ae6c73ab10a9e696cab /doc/src/howtos/openvg.qdoc
parentcd48ed92670a0d086589b202364f38f14e7221c9 (diff)
downloadQt-1b8d92b1ae453bd2d395658c7086d0049916e88f.zip
Qt-1b8d92b1ae453bd2d395658c7086d0049916e88f.tar.gz
Qt-1b8d92b1ae453bd2d395658c7086d0049916e88f.tar.bz2
Accelerate drawRoundedRect() for the OpenVG paint engine
Previously rounded rectangles were converted into a QVectorPath and then a VGPath. This change creates the VGPath directly without an intermediate step and was made possible by change dd3e4308. Reviewed-by: trustme
Diffstat (limited to 'doc/src/howtos/openvg.qdoc')
-rw-r--r--doc/src/howtos/openvg.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/howtos/openvg.qdoc b/doc/src/howtos/openvg.qdoc
index 0a0724b..42d2357 100644
--- a/doc/src/howtos/openvg.qdoc
+++ b/doc/src/howtos/openvg.qdoc
@@ -191,10 +191,10 @@
\section2 Rectangles, lines, and points
- Rectangles and lines use cached VGPath objects to try to accelerate
- drawing operations. vgModifyPathCoords() is used to modify the
- co-ordinates in the cached VGPath object each time fillRect(),
- drawRects(), or drawLines() is called.
+ Rectangles, lines, and rounded rectangles use cached VGPath objects
+ to try to accelerate drawing operations. vgModifyPathCoords() is used
+ to modify the co-ordinates in the cached VGPath object each time
+ fillRect(), drawRects(), drawLines(), or drawRoundedRect() is called.
If the engine does not implement vgModifyPathCoords() properly, then the
QVG_NO_MODIFY_PATH define can be set to disable path caching. This will