PeachDrawing.Text

PeachDrawing.Text.Outlines

Affine2x3 Struct

An affine map of the plane: x' = XX*x + XY*y + DX and y' = YX*x + YY*y + DY (the Affine2x3 record of COLR).

public readonly record struct Affine2x3 : System.IEquatable<PeachDrawing.Text.Outlines.Affine2x3>

Implements System.IEquatable<Affine2x3>

Constructors  
Affine2x3(double, double, double, double, double, double) An affine map of the plane: x' = XX*x + XY*y + DX and y' = YX*x + YY*y + DY (the Affine2x3 record of COLR).
Fields  
Identity The map that changes nothing.
Properties  
DX The translation of x.
DY The translation of y.
XX The x coefficient of x’.
XY The y coefficient of x’.
YX The x coefficient of y’.
YY The y coefficient of y’.
Methods  
Multiply(Affine2x3, Affine2x3) Composes two maps: the result applies b first and then a.