GetWidenedPathGeometry without polygonal approximation

In my project I am using WPF methods like Geometry.GetWidenedPathGeometry and Geometry.GetOutlinedPathGeometry to get the outlines of some PathGeometries.

However, these resulting geometries are usually formed using PolyLineSegment due to the polygon approximation technique that WPF uses.

This means that if my original PathGeometry contains an ArcSegment, the resulting path will be a series of polygon points (with adjustable tolerance) instead of an ArcSegment.

I'm looking for alternatives to get the same result as the methods mentioned above, but keeping the original geometry types used.

Thank,

Igor.

+3


source to share





All Articles