Table of Contents

Class Path

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

Methods

Foreach(PathHandle, PathForeachFlags, PathForeachFunc, IntPtr)

Calls native method gsk_path_foreach. Version: 4.14

[Version("4.14")]
public static extern bool Foreach(PathHandle self, PathForeachFlags flags, PathForeachFunc func, IntPtr userData)

Parameters

self PathHandle

Transfer ownership: None Nullable: False

flags PathForeachFlags

Transfer ownership: None Nullable: False

func PathForeachFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

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

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

self PathHandle

Transfer ownership: None Nullable: False

point PointHandle

Transfer ownership: None Nullable: False

fillRule FillRule

Transfer 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

self PathHandle

Transfer 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

self PathHandle

Transfer 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

string NonNullableUtf8StringHandle

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

self PathHandle

Transfer ownership: None Nullable: False

string StringHandle

Ref(PathHandle)

Calls native method gsk_path_ref. Version: 4.14

[Version("4.14")]
public static extern PathOwnedHandle Ref(PathHandle self)

Parameters

self PathHandle

Transfer 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

self PathHandle

Transfer ownership: None Nullable: False

cr ContextHandle

Transfer 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

self PathHandle

Transfer 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

self PathHandle

Transfer ownership: None Nullable: False