Table of Contents

Class Matrix

Namespace
Pango.Internal
Assembly
Pango-1.0.dll
public class Matrix
Inheritance
Matrix
Inherited Members

Methods

Concat(MatrixHandle, MatrixHandle)

Calls native method pango_matrix_concat. Version: 1.6

[Version("1.6")]
public static extern void Concat(MatrixHandle matrix, MatrixHandle newMatrix)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: False

newMatrix MatrixHandle

Transfer ownership: None Nullable: False

Copy(MatrixHandle)

Calls native method pango_matrix_copy. Version: 1.6

[Version("1.6")]
public static extern MatrixOwnedHandle Copy(MatrixHandle matrix)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: True

Returns

MatrixOwnedHandle

Transfer ownership: Full Nullable: True

Free(MatrixHandle)

Calls native method pango_matrix_free. Version: 1.6

[Version("1.6")]
public static extern void Free(MatrixHandle matrix)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: True

GetFontScaleFactor(MatrixHandle)

Calls native method pango_matrix_get_font_scale_factor. Version: 1.12

[Version("1.12")]
public static extern double GetFontScaleFactor(MatrixHandle matrix)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: True

Returns

double

Transfer ownership: None Nullable: False

GetFontScaleFactors(MatrixHandle, out double, out double)

Calls native method pango_matrix_get_font_scale_factors. Version: 1.38

[Version("1.38")]
public static extern void GetFontScaleFactors(MatrixHandle matrix, out double xscale, out double yscale)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: True

xscale double

Transfer ownership: Full Nullable: False

yscale double

Transfer ownership: Full Nullable: False

GetGType()

Calls native function pango_matrix_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetSlantRatio(MatrixHandle)

Calls native method pango_matrix_get_slant_ratio. Version: 1.50

[Version("1.50")]
public static extern double GetSlantRatio(MatrixHandle matrix)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

Rotate(MatrixHandle, double)

Calls native method pango_matrix_rotate. Version: 1.6

[Version("1.6")]
public static extern void Rotate(MatrixHandle matrix, double degrees)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: False

degrees double

Transfer ownership: None Nullable: False

Scale(MatrixHandle, double, double)

Calls native method pango_matrix_scale. Version: 1.6

[Version("1.6")]
public static extern void Scale(MatrixHandle matrix, double scaleX, double scaleY)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: False

scaleX double

Transfer ownership: None Nullable: False

scaleY double

Transfer ownership: None Nullable: False

TransformDistance(MatrixHandle, ref double, ref double)

Calls native method pango_matrix_transform_distance. Version: 1.16

[Version("1.16")]
public static extern void TransformDistance(MatrixHandle matrix, ref double dx, ref double dy)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: True

dx double

Transfer ownership: Full Nullable: False

dy double

Transfer ownership: Full Nullable: False

TransformPoint(MatrixHandle, ref double, ref double)

Calls native method pango_matrix_transform_point. Version: 1.16

[Version("1.16")]
public static extern void TransformPoint(MatrixHandle matrix, ref double x, ref double y)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: True

x double

Transfer ownership: Full Nullable: False

y double

Transfer ownership: Full Nullable: False

Translate(MatrixHandle, double, double)

Calls native method pango_matrix_translate. Version: 1.6

[Version("1.6")]
public static extern void Translate(MatrixHandle matrix, double tx, double ty)

Parameters

matrix MatrixHandle

Transfer ownership: None Nullable: False

tx double

Transfer ownership: None Nullable: False

ty double

Transfer ownership: None Nullable: False