Class RenderNode
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
BytesHandleTransfer ownership: None Nullable: False
errorFunc
ParseErrorFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
cr
ContextHandleTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False