SVG icon indicating copy to clipboard operation
SVG copied to clipboard

Values of SvgPathSegment became relative (not absolute as earlier) when iterating through the SvgPathSegmentList

Open hubaksis opened this issue 9 months ago • 3 comments

Description

Somewhere between versions 3.0.84 and 3.4.7 the default behaviour of iterating through SvgPathSegmentList changed. In the 3.0.84 version iterating through the SvgPathSegmentList returns SvgPathSegment result as absolute coordinates of the point. In the 3.4.7 version the object SvgPathSegment has relative coordinates with an additional property 'IsRelative' set to 'true'

Example data

<path d="M2639.9,1960.88l1.26,1.11l-0.36,1.79l-1.79,1.58 .....

Was the change intentional? I did not find any breaking changes in the release notes.

Is there a flag or a setting I can use to return the default behavior to absolute coordinates without the need to calculate them manually?

Thank you.

hubaksis avatar May 29 '24 01:05 hubaksis