diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-23 12:20:14 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-23 13:10:53 (GMT) |
commit | 9fd510721a140c46ce371b0c7bbc6917e3709c1d (patch) | |
tree | cff878715b8321d4711025597aa84570aca9be43 /src/gui/painting/qpaintengineex_p.h | |
parent | ec679d7d49012996bc43a7f4152616af15d97dfd (diff) | |
download | Qt-9fd510721a140c46ce371b0c7bbc6917e3709c1d.zip Qt-9fd510721a140c46ce371b0c7bbc6917e3709c1d.tar.gz Qt-9fd510721a140c46ce371b0c7bbc6917e3709c1d.tar.bz2 |
Implement clipping in the QPaintEngineEx::stroke() function.
This is a huge impact on performance whenever this path is
taken.
Reviewed-By: Tom Cooksey
Diffstat (limited to 'src/gui/painting/qpaintengineex_p.h')
-rw-r--r-- | src/gui/painting/qpaintengineex_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengineex_p.h b/src/gui/painting/qpaintengineex_p.h index 89b14eb..6e7e3b6 100644 --- a/src/gui/painting/qpaintengineex_p.h +++ b/src/gui/painting/qpaintengineex_p.h @@ -150,6 +150,8 @@ public: StrokeHandler *strokeHandler; QStrokerOps *activeStroker; QPen strokerPen; + + QRect exDeviceRect; }; class QPixmapFilter; |