Matrix.transformDistance

Transforms the distance vector (dx,dy) by matrix. This is similar to cairo.matrix.Matrix.transformPoint except that the translation components of the transformation are ignored. The calculation of the returned vector is as follows:

<programlisting> dx_new = xx * dx + xy * dy; dy_new = yx * dx + yy * dy; </programlisting>

class Matrix
void
transformDistance
(
out double dx
,
out double dy
)

Parameters

dx double

X component of a distance vector. An in/out parameter

dy double

Y component of a distance vector. An in/out parameter