Table of Contents

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

MatrixOwnedHandle

X0

public double X0 { get; set; }

Property Value

double

Xx

public double Xx { get; set; }

Property Value

double

Xy

public double Xy { get; set; }

Property Value

double

Y0

public double Y0 { get; set; }

Property Value

double

Yx

public double Yx { get; set; }

Property Value

double

Yy

public double Yy { get; set; }

Property Value

double

Methods

Concat(Matrix)

[Version("1.6")]
public void Concat(Matrix newMatrix)

Parameters

newMatrix Matrix

Copy()

[Version("1.6")]
public Matrix? Copy()

Returns

Matrix

Equals(Matrix?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Matrix? other)

Parameters

other Matrix

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

[Version("1.6")]
public void Free()

GetFontScaleFactor()

[Version("1.12")]
public double GetFontScaleFactor()

Returns

double

GetFontScaleFactors(out double, out double)

[Version("1.38")]
public void GetFontScaleFactors(out double xscale, out double yscale)

Parameters

xscale double
yscale double

GetGType()

public static Type GetGType()

Returns

Type

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

double

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

scaleX double
scaleY double

TransformDistance(ref double, ref double)

[Version("1.16")]
public void TransformDistance(ref double dx, ref double dy)

Parameters

dx double
dy double

TransformPoint(ref double, ref double)

[Version("1.16")]
public void TransformPoint(ref double x, ref double y)

Parameters

x double
y double

Translate(double, double)

[Version("1.6")]
public void Translate(double tx, double ty)

Parameters

tx double
ty double