Compilation Units
Tagged Types
A render node that uses Porter/Duff compositing operators to combine its child with the background.
function Create
(Object : not null access System.Address)
return Gsk_Composite_Node_Record
function Get_Child
(Self : Gsk_Composite_Node) return Gsk.Render_Node.Gsk_Render_Node
Gets the child node that is getting composited by the given Node. Since: gtk+ 4.22
the child GskRenderNode. Has transfer-ownership='none'.
function Get_Mask
(Self : Gsk_Composite_Node) return Gsk.Render_Node.Gsk_Render_Node
Gets the mask node that describes the region where the compositing applies. Since: gtk+ 4.22
the mask GskRenderNode. Has transfer-ownership='none'.
function Get_Operator
(Self : Gsk_Composite_Node) return Gsk.Enums.Gsk_Porter_Duff
Gets the compositing operator used by this node. Since: gtk+ 4.22
The compositing operator
function Get_Type return Glib.GType
type Gsk_Composite_Node is access all Gsk_Composite_Node_Record'Class;
function Gsk_Composite_Node_New
(Child : Gsk.Render_Node.Gsk_Render_Node;
Mask : Gsk.Render_Node.Gsk_Render_Node;
Op : Gsk.Enums.Gsk_Porter_Duff) return Gsk_Composite_Node
Creates a GskRenderNode that will composite the child onto the background with the given operator wherever the mask is set. Note that various operations can modify the background outside of the child's bounds, so the mask may cause visual changes outside of the child. Since: gtk+ 4.22
The child to composite
The mask where the compositing will apply
The compositing operator
type Gsk_Composite_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Composite_Node;
Child : Gsk.Render_Node.Gsk_Render_Node;
Mask : Gsk.Render_Node.Gsk_Render_Node;
Op : Gsk.Enums.Gsk_Porter_Duff)
Creates a GskRenderNode that will composite the child onto the background with the given operator wherever the mask is set. Note that various operations can modify the background outside of the child's bounds, so the mask may cause visual changes outside of the child. Since: gtk+ 4.22 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The child to composite
The mask where the compositing will apply
The compositing operator
procedure Initialize
(Self : not null access Gsk_Composite_Node_Record'Class;
Child : Gsk.Render_Node.Gsk_Render_Node;
Mask : Gsk.Render_Node.Gsk_Render_Node;
Op : Gsk.Enums.Gsk_Porter_Duff)
Creates a GskRenderNode that will composite the child onto the background with the given operator wherever the mask is set. Note that various operations can modify the background outside of the child's bounds, so the mask may cause visual changes outside of the child. Since: gtk+ 4.22 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The child to composite
The mask where the compositing will apply
The compositing operator