Optimize QGraphicsItem::map(To|From)Parent(const QPainterPath)
authorBjoern Erik Nilsen <bnilsen@trolltech.com>
Thu, 26 Feb 2009 10:14:12 +0000 (11:14 +0100)
committerBjoern Erik Nilsen <bjorn.nilsen@nokia.com>
Tue, 7 Apr 2009 13:51:07 +0000 (15:51 +0200)
commitbaf61b32cf4aa554ee3dbb4a22b99e854d5ebd34
treeb97e8258487d4e674a24dbb543c3cb3b8fd83c44
parentc451bec89869bb12b2a2937581df331443795dba
Optimize QGraphicsItem::map(To|From)Parent(const QPainterPath)

Now that we have QPainterPath::translate, we can use
that instead of itemTransform()/map(To|From)Scene, which
lowers the number of QTransform operations involved.

Reviewd-by: Andreas
src/gui/graphicsview/qgraphicsitem.cpp