Class Path
public class Path
- Inheritance
-
Path
- Inherited Members
Methods
Foreach(PathHandle, PathForeachFlags, PathForeachFunc, nint)
Calls native method gsk_path_foreach. Version: 4.14
[Version("4.14")]
public static extern bool Foreach(PathHandle self, PathForeachFlags flags, PathForeachFunc func, nint userData)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
flagsPathForeachFlagsTransfer ownership: None Nullable: False
funcPathForeachFuncTransfer ownership: None Nullable: False
userDatanintTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
ForeachIntersection(PathHandle, PathHandle, PathIntersectionFunc, nint)
Calls native method gsk_path_foreach_intersection. Version: 4.20
[Version("4.20")]
public static extern bool ForeachIntersection(PathHandle path1, PathHandle path2, PathIntersectionFunc func, nint userData)
Parameters
path1PathHandleTransfer ownership: None Nullable: False
path2PathHandleTransfer ownership: None Nullable: True
funcPathIntersectionFuncTransfer ownership: None Nullable: False
userDatanintTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
GetBounds(PathHandle, RectHandle)
Calls native method gsk_path_get_bounds. Version: 4.14
[Version("4.14")]
public static extern bool GetBounds(PathHandle self, RectHandle bounds)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
boundsRectHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetClosestPoint(PathHandle, PointHandle, float, PathPointHandle, out float)
Calls native method gsk_path_get_closest_point. Version: 4.14
[Version("4.14")]
public static extern bool GetClosestPoint(PathHandle self, PointHandle point, float threshold, PathPointHandle result, out float distance)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
pointPointHandleTransfer ownership: None Nullable: False
thresholdfloatTransfer ownership: None Nullable: False
resultPathPointHandleTransfer ownership: None Nullable: False
distancefloatTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetEndPoint(PathHandle, PathPointHandle)
Calls native method gsk_path_get_end_point. Version: 4.14
[Version("4.14")]
public static extern bool GetEndPoint(PathHandle self, PathPointHandle result)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
resultPathPointHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetGType()
Calls native function gsk_path_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetStartPoint(PathHandle, PathPointHandle)
Calls native method gsk_path_get_start_point. Version: 4.14
[Version("4.14")]
public static extern bool GetStartPoint(PathHandle self, PathPointHandle result)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
resultPathPointHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetStrokeBounds(PathHandle, StrokeHandle, RectHandle)
Calls native method gsk_path_get_stroke_bounds. Version: 4.14
[Version("4.14")]
public static extern bool GetStrokeBounds(PathHandle self, StrokeHandle stroke, RectHandle bounds)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
strokeStrokeHandleTransfer ownership: None Nullable: False
boundsRectHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
InFill(PathHandle, PointHandle, FillRule)
Calls native method gsk_path_in_fill. Version: 4.14
[Version("4.14")]
public static extern bool InFill(PathHandle self, PointHandle point, FillRule fillRule)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
pointPointHandleTransfer ownership: None Nullable: False
fillRuleFillRuleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsClosed(PathHandle)
Calls native method gsk_path_is_closed. Version: 4.14
[Version("4.14")]
public static extern bool IsClosed(PathHandle self)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsEmpty(PathHandle)
Calls native method gsk_path_is_empty. Version: 4.14
[Version("4.14")]
public static extern bool IsEmpty(PathHandle self)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Parse(NonNullableUtf8StringHandle)
Calls native function gsk_path_parse. Version: 4.14
[Version("4.14")]
public static extern PathOwnedHandle Parse(NonNullableUtf8StringHandle @string)
Parameters
stringNonNullableUtf8StringHandle
Returns
- PathOwnedHandle
Transfer ownership: Full Nullable: True
Print(PathHandle, StringHandle)
Calls native method gsk_path_print. Version: 4.14
[Version("4.14")]
public static extern void Print(PathHandle self, StringHandle @string)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
stringStringHandle
Ref(PathHandle)
Calls native method gsk_path_ref. Version: 4.14
[Version("4.14")]
public static extern PathOwnedHandle Ref(PathHandle self)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
Returns
- PathOwnedHandle
Transfer ownership: Full Nullable: False
ToCairo(PathHandle, ContextHandle)
Calls native method gsk_path_to_cairo. Version: 4.14
[Version("4.14")]
public static extern void ToCairo(PathHandle self, ContextHandle cr)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
crContextHandleTransfer ownership: None Nullable: False
ToString(PathHandle)
Calls native method gsk_path_to_string. Version: 4.14
[Version("4.14")]
public static extern NonNullableUtf8StringOwnedHandle ToString(PathHandle self)
Parameters
selfPathHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Unref(PathHandle)
Calls native method gsk_path_unref. Version: 4.14
[Version("4.14")]
public static extern void Unref(PathHandle self)
Parameters
selfPathHandleTransfer ownership: None Nullable: False