Table of Contents

Class Transform

Namespace
Gsk.Internal
Assembly
Gsk-4.0.dll
public class Transform
Inheritance
Transform
Inherited Members

Methods

Equal(TransformHandle, TransformHandle)

Calls native method gsk_transform_equal.

public static extern bool Equal(TransformHandle first, TransformHandle second)

Parameters

first TransformHandle

Transfer ownership: None Nullable: True

second TransformHandle

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

GetCategory(TransformHandle)

Calls native method gsk_transform_get_category.

public static extern TransformCategory GetCategory(TransformHandle self)

Parameters

self TransformHandle

Transfer ownership: None Nullable: True

Returns

TransformCategory

Transfer ownership: None Nullable: False

GetGType()

Calls native function gsk_transform_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Invert(TransformUnownedHandle)

Calls native method gsk_transform_invert.

public static extern TransformOwnedHandle Invert(TransformUnownedHandle self)

Parameters

self TransformUnownedHandle

Transfer ownership: Full Nullable: True

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Matrix(TransformUnownedHandle, MatrixHandle)

Calls native method gsk_transform_matrix.

public static extern TransformOwnedHandle Matrix(TransformUnownedHandle next, MatrixHandle matrix)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

matrix MatrixHandle

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: False

New()

Calls native constructor gsk_transform_new.

public static extern TransformOwnedHandle New()

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: False

Perspective(TransformUnownedHandle, float)

Calls native method gsk_transform_perspective.

public static extern TransformOwnedHandle Perspective(TransformUnownedHandle next, float depth)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

depth float

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: False

Print(TransformHandle, StringHandle)

Calls native method gsk_transform_print.

public static extern void Print(TransformHandle self, StringHandle @string)

Parameters

self TransformHandle

Transfer ownership: None Nullable: True

string StringHandle

Ref(TransformHandle)

Calls native method gsk_transform_ref.

public static extern TransformUnownedHandle Ref(TransformHandle self)

Parameters

self TransformHandle

Transfer ownership: None Nullable: True

Returns

TransformUnownedHandle

Transfer ownership: None Nullable: True

Rotate(TransformUnownedHandle, float)

Calls native method gsk_transform_rotate.

public static extern TransformOwnedHandle Rotate(TransformUnownedHandle next, float angle)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

angle float

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Rotate3d(TransformUnownedHandle, float, Vec3Handle)

Calls native method gsk_transform_rotate_3d.

public static extern TransformOwnedHandle Rotate3d(TransformUnownedHandle next, float angle, Vec3Handle axis)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

angle float

Transfer ownership: None Nullable: False

axis Vec3Handle

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Scale(TransformUnownedHandle, float, float)

Calls native method gsk_transform_scale.

public static extern TransformOwnedHandle Scale(TransformUnownedHandle next, float factorX, float factorY)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

factorX float

Transfer ownership: None Nullable: False

factorY float

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Scale3d(TransformUnownedHandle, float, float, float)

Calls native method gsk_transform_scale_3d.

public static extern TransformOwnedHandle Scale3d(TransformUnownedHandle next, float factorX, float factorY, float factorZ)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

factorX float

Transfer ownership: None Nullable: False

factorY float

Transfer ownership: None Nullable: False

factorZ float

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Skew(TransformUnownedHandle, float, float)

Calls native method gsk_transform_skew. Version: 4.6

[Version("4.6")]
public static extern TransformOwnedHandle Skew(TransformUnownedHandle next, float skewX, float skewY)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

skewX float

Transfer ownership: None Nullable: False

skewY float

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

To2d(TransformHandle, out float, out float, out float, out float, out float, out float)

Calls native method gsk_transform_to_2d.

public static extern void To2d(TransformHandle self, out float outXx, out float outYx, out float outXy, out float outYy, out float outDx, out float outDy)

Parameters

self TransformHandle

Transfer ownership: None Nullable: False

outXx float

Transfer ownership: Full Nullable: False

outYx float

Transfer ownership: Full Nullable: False

outXy float

Transfer ownership: Full Nullable: False

outYy float

Transfer ownership: Full Nullable: False

outDx float

Transfer ownership: Full Nullable: False

outDy float

Transfer ownership: Full Nullable: False

To2dComponents(TransformHandle, out float, out float, out float, out float, out float, out float, out float)

Calls native method gsk_transform_to_2d_components. Version: 4.6

[Version("4.6")]
public static extern void To2dComponents(TransformHandle self, out float outSkewX, out float outSkewY, out float outScaleX, out float outScaleY, out float outAngle, out float outDx, out float outDy)

Parameters

self TransformHandle

Transfer ownership: None Nullable: False

outSkewX float

Transfer ownership: Full Nullable: False

outSkewY float

Transfer ownership: Full Nullable: False

outScaleX float

Transfer ownership: Full Nullable: False

outScaleY float

Transfer ownership: Full Nullable: False

outAngle float

Transfer ownership: Full Nullable: False

outDx float

Transfer ownership: Full Nullable: False

outDy float

Transfer ownership: Full Nullable: False

ToAffine(TransformHandle, out float, out float, out float, out float)

Calls native method gsk_transform_to_affine.

public static extern void ToAffine(TransformHandle self, out float outScaleX, out float outScaleY, out float outDx, out float outDy)

Parameters

self TransformHandle

Transfer ownership: None Nullable: False

outScaleX float

Transfer ownership: Full Nullable: False

outScaleY float

Transfer ownership: Full Nullable: False

outDx float

Transfer ownership: Full Nullable: False

outDy float

Transfer ownership: Full Nullable: False

ToString(TransformHandle)

Calls native method gsk_transform_to_string.

public static extern NonNullableUtf8StringOwnedHandle ToString(TransformHandle self)

Parameters

self TransformHandle

Transfer ownership: None Nullable: True

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

ToTranslate(TransformHandle, out float, out float)

Calls native method gsk_transform_to_translate.

public static extern void ToTranslate(TransformHandle self, out float outDx, out float outDy)

Parameters

self TransformHandle

Transfer ownership: None Nullable: False

outDx float

Transfer ownership: Full Nullable: False

outDy float

Transfer ownership: Full Nullable: False

Translate(TransformUnownedHandle, PointHandle)

Calls native method gsk_transform_translate.

public static extern TransformOwnedHandle Translate(TransformUnownedHandle next, PointHandle point)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

point PointHandle

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Translate3d(TransformUnownedHandle, Point3DHandle)

Calls native method gsk_transform_translate_3d.

public static extern TransformOwnedHandle Translate3d(TransformUnownedHandle next, Point3DHandle point)

Parameters

next TransformUnownedHandle

Transfer ownership: Full Nullable: True

point Point3DHandle

Transfer ownership: None Nullable: False

Returns

TransformOwnedHandle

Transfer ownership: Full Nullable: True

Unref(TransformHandle)

Calls native method gsk_transform_unref.

public static extern void Unref(TransformHandle self)

Parameters

self TransformHandle

Transfer ownership: None Nullable: True