Compilation Units
Tagged Types
A render node applying a rectangular clip to its single child node.
function Create
(Object : not null access System.Address) return Gsk_Clip_Node_Record
function Get_Child
(Self : Gsk_Clip_Node) return Gsk.Render_Node.Gsk_Render_Node
Gets the child node that is getting clipped by the given Node.
The child that is getting clipped. Has transfer-ownership='none'.
function Get_Clip
(Self : Gsk_Clip_Node)
return access constant Graphene.Rect.Graphene_Rect_T
Retrieves the clip rectangle for Node.
a clip rectangle
function Get_Type return Glib.GType
type Gsk_Clip_Node is access all Gsk_Clip_Node_Record'Class;
function Gsk_Clip_Node_New
(Child : Gsk.Render_Node.Gsk_Render_Node;
Clip : not null access Graphene.Rect.Graphene_Rect_T)
return Gsk_Clip_Node
Creates a GskRenderNode that will clip the Child to the area given by Clip.
The node to draw
The clip to apply
type Gsk_Clip_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Clip_Node;
Child : Gsk.Render_Node.Gsk_Render_Node;
Clip : not null access Graphene.Rect.Graphene_Rect_T)
Creates a GskRenderNode that will clip the Child to the area given by Clip. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The node to draw
The clip to apply
procedure Initialize
(Self : not null access Gsk_Clip_Node_Record'Class;
Child : Gsk.Render_Node.Gsk_Render_Node;
Clip : not null access Graphene.Rect.Graphene_Rect_T)
Creates a GskRenderNode that will clip the Child to the area given by Clip. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The node to draw
The clip to apply