Function Matrix.transformDistance
Transforms the distance vector (dx,dy) by matrix. This is similar
to transformPoint
except that the translation
components of the transformation are ignored. The calculation
of the returned vector is as follows:
dx2 = dx1 * a + dy1 * c;
dy2 = dx1 * b + dy1 * d;
Prototype
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |