Method Transform
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
Transform(double, double, double, double, double, double)
Multiplies the current transformation matrix by [a b c d e f], changing how later coordinates map onto the page.
Operator cm. Wrap it in SaveState()/RestoreState() to limit its effect.
public ContentStreamWriter Transform(double a, double b, double c, double d, double e, double f)
Parameters
adoubleHorizontal scale (combined with
bandcfor rotation).bdoubleRotation and skew term.
cdoubleRotation and skew term.
ddoubleVertical scale.
edoubleHorizontal translation, in points.
fdoubleVertical translation, in points.
Returns
Examples
Rotate by θ around the origin: Transform(cos θ, sin θ, -sin θ, cos θ, 0, 0).
Exceptions
- InvalidOperationException
Called inside a text object.