Compilation Units
Tagged Types
A render node for a solid color.
function Create
(Object : not null access System.Address) return Gsk_Color_Node_Record
function Get_Color
(Self : Gsk_Color_Node) return access constant Gdk.RGBA.Gdk_RGBA
Retrieves the color of the given Node. The value returned by this function will not be correct if the render node was created for a non-sRGB color.
the color of the node
function Get_Type return Glib.GType
type Gsk_Color_Node is access all Gsk_Color_Node_Record'Class;
function Gsk_Color_Node_New
(Rgba : not null access Gdk.RGBA.Gdk_RGBA;
Bounds : not null access Graphene.Rect.Graphene_Rect_T)
return Gsk_Color_Node
Creates a GskRenderNode that will render the color specified by Rgba into the area given by Bounds.
a GdkRGBA specifying a color
the rectangle to render the color into
type Gsk_Color_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Color_Node;
Rgba : not null access Gdk.RGBA.Gdk_RGBA;
Bounds : not null access Graphene.Rect.Graphene_Rect_T)
Creates a GskRenderNode that will render the color specified by Rgba into the area given by Bounds. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
a GdkRGBA specifying a color
the rectangle to render the color into
procedure Initialize
(Self : not null access Gsk_Color_Node_Record'Class;
Rgba : not null access Gdk.RGBA.Gdk_RGBA;
Bounds : not null access Graphene.Rect.Graphene_Rect_T)
Creates a GskRenderNode that will render the color specified by Rgba into the area given by Bounds. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
a GdkRGBA specifying a color
the rectangle to render the color into