Compilation Units
Tagged Types
A render node masking one child node with another.
function Create
(Object : not null access System.Address) return Gsk_Mask_Node_Record
function Get_Mask
(Self : Gsk_Mask_Node) return Gsk.Render_Node.Gsk_Render_Node
Retrieves the mask GskRenderNode child of the Node. Since: gtk+ 4.10
the mask child node. Has transfer-ownership='none'.
function Get_Mask_Mode
(Self : Gsk_Mask_Node) return Gsk.Enums.Gsk_Mask_Mode
Retrieves the mask mode used by Node. Since: gtk+ 4.10
the mask mode
function Get_Source
(Self : Gsk_Mask_Node) return Gsk.Render_Node.Gsk_Render_Node
Retrieves the source GskRenderNode child of the Node. Since: gtk+ 4.10
the source child node. Has transfer-ownership='none'.
function Get_Type return Glib.GType
type Gsk_Mask_Node is access all Gsk_Mask_Node_Record'Class;
function Gsk_Mask_Node_New
(Source : Gsk.Render_Node.Gsk_Render_Node;
Mask : Gsk.Render_Node.Gsk_Render_Node;
Mask_Mode : Gsk.Enums.Gsk_Mask_Mode) return Gsk_Mask_Node
Creates a GskRenderNode that will mask a given node by another. The Mask_Mode determines how the 'mask values' are derived from the colors of the Mask. Applying the mask consists of multiplying the 'mask value' with the alpha of the source. Since: gtk+ 4.10
The source node to be drawn
The node to be used as mask
The mask mode to use
type Gsk_Mask_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Mask_Node;
Source : Gsk.Render_Node.Gsk_Render_Node;
Mask : Gsk.Render_Node.Gsk_Render_Node;
Mask_Mode : Gsk.Enums.Gsk_Mask_Mode)
Creates a GskRenderNode that will mask a given node by another. The Mask_Mode determines how the 'mask values' are derived from the colors of the Mask. Applying the mask consists of multiplying the 'mask value' with the alpha of the source. Since: gtk+ 4.10 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The source node to be drawn
The node to be used as mask
The mask mode to use
procedure Initialize
(Self : not null access Gsk_Mask_Node_Record'Class;
Source : Gsk.Render_Node.Gsk_Render_Node;
Mask : Gsk.Render_Node.Gsk_Render_Node;
Mask_Mode : Gsk.Enums.Gsk_Mask_Mode)
Creates a GskRenderNode that will mask a given node by another. The Mask_Mode determines how the 'mask values' are derived from the colors of the Mask. Applying the mask consists of multiplying the 'mask value' with the alpha of the source. Since: gtk+ 4.10 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The source node to be drawn
The node to be used as mask
The mask mode to use