This PR proposes an implementation of affine transformation for Path and bezier segment objects. This is done by adding the function transform() to svgpathtools/path.py, which allows to transform the input objects with an arbitrary affine transformation matrix.
I may submit a later PR that adds support for Arc objects, but it still requires some work.
This PR proposes an implementation of affine transformation for
Path
and bezier segment objects. This is done by adding the functiontransform()
tosvgpathtools/path.py
, which allows to transform the input objects with an arbitrary affine transformation matrix.I may submit a later PR that adds support for
Arc
objects, but it still requires some work.