Class Matrix
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public sealed class Matrix : BoxedRecord, IEquatable<Matrix>
- Inheritance
-
Matrix
- Implements
- Inherited Members
Constructors
Matrix()
public Matrix()
Matrix(MatrixOwnedHandle)
public Matrix(MatrixOwnedHandle handle)
Parameters
handle
MatrixOwnedHandle
Properties
Handle
public MatrixOwnedHandle Handle { get; }
Property Value
X0
public double X0 { get; set; }
Property Value
Xx
public double Xx { get; set; }
Property Value
Xy
public double Xy { get; set; }
Property Value
Y0
public double Y0 { get; set; }
Property Value
Yx
public double Yx { get; set; }
Property Value
Yy
public double Yy { get; set; }
Property Value
Methods
Concat(Matrix)
[Version("1.6")]
public void Concat(Matrix newMatrix)
Parameters
newMatrix
Matrix
Copy()
[Version("1.6")]
public Matrix? Copy()
Returns
Equals(Matrix?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Matrix? other)
Parameters
other
MatrixAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("1.6")]
public void Free()
GetFontScaleFactor()
[Version("1.12")]
public double GetFontScaleFactor()
Returns
GetFontScaleFactors(out double, out double)
[Version("1.38")]
public void GetFontScaleFactors(out double xscale, out double yscale)
Parameters
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetSlantRatio()
[Version("1.50")]
public double GetSlantRatio()
Returns
Rotate(double)
[Version("1.6")]
public void Rotate(double degrees)
Parameters
degrees
double
Scale(double, double)
[Version("1.6")]
public void Scale(double scaleX, double scaleY)
Parameters
TransformDistance(ref double, ref double)
[Version("1.16")]
public void TransformDistance(ref double dx, ref double dy)
Parameters
TransformPoint(ref double, ref double)
[Version("1.16")]
public void TransformPoint(ref double x, ref double y)
Parameters
Translate(double, double)
[Version("1.6")]
public void Translate(double tx, double ty)