Table of Contents

Class TextNode

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

Methods

GetColor(IntPtr)

Calls native method gsk_text_node_get_color.

public static extern RGBAUnownedHandle GetColor(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

RGBAUnownedHandle

Transfer ownership: None Nullable: False

GetFont(IntPtr)

Calls native method gsk_text_node_get_font.

public static extern IntPtr GetFont(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function gsk_text_node_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNumGlyphs(IntPtr)

Calls native method gsk_text_node_get_num_glyphs.

public static extern uint GetNumGlyphs(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetOffset(IntPtr)

Calls native method gsk_text_node_get_offset.

public static extern PointUnownedHandle GetOffset(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

PointUnownedHandle

Transfer ownership: None Nullable: False

HasColorGlyphs(IntPtr)

Calls native method gsk_text_node_has_color_glyphs. Version: 4.2

[Version("4.2")]
public static extern bool HasColorGlyphs(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(IntPtr, GlyphStringHandle, RGBAHandle, PointHandle)

Calls native constructor gsk_text_node_new.

public static extern IntPtr New(IntPtr font, GlyphStringHandle glyphs, RGBAHandle color, PointHandle offset)

Parameters

font IntPtr

Transfer ownership: None Nullable: False

glyphs GlyphStringHandle

Transfer ownership: None Nullable: False

color RGBAHandle

Transfer ownership: None Nullable: False

offset PointHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True