Skip to content

Inconsistent Graphics.Transform API #60

@gmkado

Description

@gmkado

First off, thanks for the great library. I find it much simpler and nicer to work with than other svg libraries. For the most part the interface and documentation is very straightforward.

I did get hung up on the Graphics.Transform methods. They are method overloads so I would expect them to behave the same, however the method on l423 affects subsequent actions and the one on 1070 returns a graphics object with all the previous actions transformed. This wasn't immediately obvious from either the api or documentation.

public void Transform(double a, double b, double c, double d, double e, double f, string tag = null)

public Graphics Transform(Func<Point, Point> transformationFunction, double linearisationResolution)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions