Compilation Units
Tagged Types
A render node for a border.
function Create
(Object : not null access System.Address)
return Gsk_Border_Node_Record
type Gdk_Rgba_Array4 is array (1 .. 4) of Gdk.RGBA.Gdk_RGBA
with Convention => C;
function Get_Colors (Self : Gsk_Border_Node) return Gdk_Rgba_Array4
Retrieves the colors of the border.
an array of 4 GdkRGBA structs for the top, right, bottom and left color of the border
function Get_Outline
(Self : Gsk_Border_Node) return Gsk.Rounded_Rect.Gsk_Rounded_Rect
Retrieves the outline of the border.
the outline of the border
function Get_Type return Glib.GType
function Get_Widths (Self : Gsk_Border_Node) return Gfloat_Array4
Retrieves the stroke widths of the border.
an array of 4 floats for the top, right, bottom and left stroke width of the border, respectively
type Gfloat_Array4 is array (1 .. 4) of Gfloat
with Convention => C;
type Gsk_Border_Node is access all Gsk_Border_Node_Record'Class;
function Gsk_Border_Node_New
(Outline : Gsk.Rounded_Rect.Gsk_Rounded_Rect;
Border_Width : Gfloat_Array4;
Border_Color : Gdk_Rgba_Array4) return Gsk_Border_Node
Creates a GskRenderNode that will stroke a border rectangle inside the given Outline. The 4 sides of the border can have different widths and colors.
a GskRoundedRect describing the outline of the border
the stroke width of the border on the top, right, bottom and left side respectively.
the color used on the top, right, bottom and left side.
type Gsk_Border_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Border_Node;
Outline : Gsk.Rounded_Rect.Gsk_Rounded_Rect;
Border_Width : Gfloat_Array4;
Border_Color : Gdk_Rgba_Array4)
Creates a GskRenderNode that will stroke a border rectangle inside the given Outline. The 4 sides of the border can have different widths and colors. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
a GskRoundedRect describing the outline of the border
the stroke width of the border on the top, right, bottom and left side respectively.
the color used on the top, right, bottom and left side.
procedure Initialize
(Self : not null access Gsk_Border_Node_Record'Class;
Outline : Gsk.Rounded_Rect.Gsk_Rounded_Rect;
Border_Width : Gfloat_Array4;
Border_Color : Gdk_Rgba_Array4)
Creates a GskRenderNode that will stroke a border rectangle inside the given Outline. The 4 sides of the border can have different widths and colors. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
a GskRoundedRect describing the outline of the border
the stroke width of the border on the top, right, bottom and left side respectively.
the color used on the top, right, bottom and left side.