diff options
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; } |