Compilation Units
Tagged Types
A render node for a repeating linear gradient.
function Create
(Object : not null access System.Address)
return Gsk_Repeating_Linear_Gradient_Node_Record
function Get_Type return Glib.GType
type Gsk_Repeating_Linear_Gradient_Node is access all Gsk_Repeating_Linear_Gradient_Node_Record'Class;
function Gsk_Repeating_Linear_Gradient_Node_New
(Bounds : not null access Graphene.Rect.Graphene_Rect_T;
Start : not null access Graphene.Point.Graphene_Point_T;
The_End : not null access Graphene.Point.Graphene_Point_T;
Color_Stops : Gsk.Render_Node.Gsk_Color_Stop_Array)
return Gsk_Repeating_Linear_Gradient_Node
Creates a GskRenderNode that will create a repeating linear gradient from the given points and color stops, and render that into the area given by Bounds.
the rectangle to render the linear gradient into
the point at which the linear gradient will begin
the point at which the linear gradient will finish
a pointer to an array of GskColorStop defining the gradient. The offsets of all color stops must be increasing. The first stop's offset must be >= 0 and the last stop's offset must be <= 1.
type Gsk_Repeating_Linear_Gradient_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Repeating_Linear_Gradient_Node;
Bounds : not null access Graphene.Rect.Graphene_Rect_T;
Start : not null access Graphene.Point.Graphene_Point_T;
The_End : not null access Graphene.Point.Graphene_Point_T;
Color_Stops : Gsk.Render_Node.Gsk_Color_Stop_Array)
Creates a GskRenderNode that will create a repeating linear gradient from the given points and color stops, and render that into the area given by Bounds. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the rectangle to render the linear gradient into
the point at which the linear gradient will begin
the point at which the linear gradient will finish
a pointer to an array of GskColorStop defining the gradient. The offsets of all color stops must be increasing. The first stop's offset must be >= 0 and the last stop's offset must be <= 1.
procedure Initialize
(Self : not null access Gsk_Repeating_Linear_Gradient_Node_Record'Class;
Bounds : not null access Graphene.Rect.Graphene_Rect_T;
Start : not null access Graphene.Point.Graphene_Point_T;
The_End : not null access Graphene.Point.Graphene_Point_T;
Color_Stops : Gsk.Render_Node.Gsk_Color_Stop_Array)
Creates a GskRenderNode that will create a repeating linear gradient from the given points and color stops, and render that into the area given by Bounds. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the rectangle to render the linear gradient into
the point at which the linear gradient will begin
the point at which the linear gradient will finish
a pointer to an array of GskColorStop defining the gradient. The offsets of all color stops must be increasing. The first stop's offset must be >= 0 and the last stop's offset must be <= 1.