Table of Contents

Class RenderNode

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

Methods

Deserialize(BytesHandle, ParseErrorFunc, IntPtr)

Calls native function gsk_render_node_deserialize.

public static extern IntPtr Deserialize(BytesHandle bytes, ParseErrorFunc errorFunc, IntPtr userData)

Parameters

bytes BytesHandle

Transfer ownership: None Nullable: False

errorFunc ParseErrorFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: True

Draw(IntPtr, ContextHandle)

Calls native method gsk_render_node_draw.

public static extern void Draw(IntPtr node, ContextHandle cr)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

cr ContextHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gsk_render_node_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNodeType(IntPtr)

Calls native method gsk_render_node_get_node_type.

public static extern RenderNodeType GetNodeType(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

RenderNodeType

Transfer ownership: None Nullable: False

Ref(IntPtr)

Calls native method gsk_render_node_ref.

public static extern IntPtr Ref(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Serialize(IntPtr)

Calls native method gsk_render_node_serialize.

public static extern BytesOwnedHandle Serialize(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

BytesOwnedHandle

Transfer ownership: Full Nullable: False

Unref(IntPtr)

Calls native method gsk_render_node_unref.

public static extern void Unref(IntPtr node)

Parameters

node IntPtr

Transfer ownership: Full Nullable: False

WriteToFile(IntPtr, NonNullablePlatformStringHandle, out ErrorOwnedHandle)

Calls native method gsk_render_node_write_to_file.

public static extern bool WriteToFile(IntPtr node, NonNullablePlatformStringHandle filename, out ErrorOwnedHandle error)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

filename NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False