Class Transform
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
TransformHandleTransfer ownership: None Nullable: True
second
TransformHandleTransfer 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
TransformHandleTransfer 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
TransformUnownedHandleTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
matrix
MatrixHandleTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
depth
floatTransfer 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
TransformHandleTransfer ownership: None Nullable: True
string
StringHandle
Ref(TransformHandle)
Calls native method gsk_transform_ref.
public static extern TransformUnownedHandle Ref(TransformHandle self)
Parameters
self
TransformHandleTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
angle
floatTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
angle
floatTransfer ownership: None Nullable: False
axis
Vec3HandleTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
factorX
floatTransfer ownership: None Nullable: False
factorY
floatTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
factorX
floatTransfer ownership: None Nullable: False
factorY
floatTransfer ownership: None Nullable: False
factorZ
floatTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
skewX
floatTransfer ownership: None Nullable: False
skewY
floatTransfer 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
TransformHandleTransfer ownership: None Nullable: False
outXx
floatTransfer ownership: Full Nullable: False
outYx
floatTransfer ownership: Full Nullable: False
outXy
floatTransfer ownership: Full Nullable: False
outYy
floatTransfer ownership: Full Nullable: False
outDx
floatTransfer ownership: Full Nullable: False
outDy
floatTransfer 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
TransformHandleTransfer ownership: None Nullable: False
outSkewX
floatTransfer ownership: Full Nullable: False
outSkewY
floatTransfer ownership: Full Nullable: False
outScaleX
floatTransfer ownership: Full Nullable: False
outScaleY
floatTransfer ownership: Full Nullable: False
outAngle
floatTransfer ownership: Full Nullable: False
outDx
floatTransfer ownership: Full Nullable: False
outDy
floatTransfer 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
TransformHandleTransfer ownership: None Nullable: False
outScaleX
floatTransfer ownership: Full Nullable: False
outScaleY
floatTransfer ownership: Full Nullable: False
outDx
floatTransfer ownership: Full Nullable: False
outDy
floatTransfer ownership: Full Nullable: False
ToString(TransformHandle)
Calls native method gsk_transform_to_string.
public static extern NonNullableUtf8StringOwnedHandle ToString(TransformHandle self)
Parameters
self
TransformHandleTransfer 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
TransformHandleTransfer ownership: None Nullable: False
outDx
floatTransfer ownership: Full Nullable: False
outDy
floatTransfer ownership: Full Nullable: False
Translate(TransformUnownedHandle, PointHandle)
Calls native method gsk_transform_translate.
public static extern TransformOwnedHandle Translate(TransformUnownedHandle next, PointHandle point)
Parameters
next
TransformUnownedHandleTransfer ownership: Full Nullable: True
point
PointHandleTransfer 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
TransformUnownedHandleTransfer ownership: Full Nullable: True
point
Point3DHandleTransfer 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
TransformHandleTransfer ownership: None Nullable: True