diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-07-01 15:40:00 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-07-07 22:32:39 +0200 |
commit | 4609380bb0bde0d4437b72b752c1c24ee2950361 (patch) | |
tree | d5083eb62aa8f5717997274cecf4011e8f5b8126 /basegfx | |
parent | c1f476d91805e6a9573bba3ea8f5f980e0ea7b54 (diff) |
tdf#82214 optimize performance for primitives
See svg bug doc, which is processed quite slowly. Beyond needing faster
renderers, there is also demand to improve the handling of primitives
created by SVG import.
Conflicts:
drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
vcl/win/gdi/gdiimpl.cxx
Change-Id: I10992a5746b8b2d6b50e3ee3fe415a035685c9ba
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dlinegeometry.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx index b5163ec1c957..abf80ccc59ce 100644 --- a/basegfx/source/polygon/b2dlinegeometry.cxx +++ b/basegfx/source/polygon/b2dlinegeometry.cxx @@ -955,6 +955,14 @@ namespace basegfx } } } + else + { + // point count, but no edge count -> single point + aRetval.append( + createPolygonFromCircle( + aCandidate.getB2DPoint(0), + fHalfLineWidth)); + } return aRetval; } |