Apache OpenOffice (AOO) Bugzilla – Issue 100951
performance: avoid expensive clipping call
Last modified: 2009-06-22 14:39:50 UTC
Issue 100851 showed that the the call to basegfx::tools::clipPolygonOnRange() is especially expensive after the polygon has been subdivided into a non-bezier polygon, because there the number of points is significantly larger than in its bezier counterpart. The clipping has to be done on the non-bezier polygon, because the method clipPolygonOnRange() does not support bezier clipping yet. Since the extents of the polygon are already known though using it for a simple test can avoid a lot of unnecessary clipping requests.
Done in CWS vcl101.
Also done in CWS aw070.
AW: Need to review code.
AW: Checked diff, okay.
AW: Closing.