Skip to content

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

Open
@hubaksis

Description

@hubaksis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions