[Webkit-unassigned] [Bug 39691] [Qt] GraphicsLayer: support tiling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 4 13:38:52 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39691
--- Comment #9 from Noam Rosenthal <noam.rosenthal at nokia.com> 2010-06-04 13:38:51 PST ---
> WebCore/platform/graphics/qt/GraphicsLayerQt.cpp:841
> + return mapFromScene(view->mapToScene(view->viewport()->visibleRegion().boundingRect()).boundingRect()).boundingRect().toAlignedRect();
Actually looking at it again one boundingRect is redundant,
return mapFromScene(
view->mapToScene(view->viewport()->visibleRegion().boundingRect())
).boundingRect().toAlignedRect();
would also work.
There's no other way I found to get the visible portion of a QGraphicsItem.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list