Compilation Units
Tagged Types
A render node for an outset shadow.
function Create
(Object : not null access System.Address)
return Gsk_Outset_Shadow_Node_Record
function Get_Blur_Radius
(Self : Gsk_Outset_Shadow_Node) return Interfaces.C.C_float
Retrieves the blur radius of the shadow.
the blur radius, in pixels
function Get_Color
(Self : Gsk_Outset_Shadow_Node)
return access constant Gdk.RGBA.Gdk_RGBA
Retrieves the color of the outset shadow. The value returned by this function will not be correct if the render node was created for a non-sRGB color.
a color
function Get_Dx
(Self : Gsk_Outset_Shadow_Node) return Interfaces.C.C_float
Retrieves the horizontal offset of the outset shadow.
an offset, in pixels
function Get_Dy
(Self : Gsk_Outset_Shadow_Node) return Interfaces.C.C_float
Retrieves the vertical offset of the outset shadow.
an offset, in pixels
function Get_Outline
(Self : Gsk_Outset_Shadow_Node)
return Gsk.Rounded_Rect.Gsk_Rounded_Rect
Retrieves the outline rectangle of the outset shadow.
a rounded rectangle
function Get_Spread
(Self : Gsk_Outset_Shadow_Node) return Interfaces.C.C_float
Retrieves how much the shadow spreads outwards.
the size of the shadow, in pixels
function Get_Type return Glib.GType
type Gsk_Outset_Shadow_Node is access all Gsk_Outset_Shadow_Node_Record'Class;
function Gsk_Outset_Shadow_Node_New
(Outline : not null access Gsk.Rounded_Rect.Gsk_Rounded_Rect;
Color : not null access Gdk.RGBA.Gdk_RGBA;
Dx : Interfaces.C.C_float;
Dy : Interfaces.C.C_float;
Spread : Interfaces.C.C_float;
Blur_Radius : Interfaces.C.C_float) return Gsk_Outset_Shadow_Node
Creates a GskRenderNode that will render an outset shadow around the box given by Outline.
outline of the region surrounded by shadow
color of the shadow
horizontal offset of shadow
vertical offset of shadow
how far the shadow spreads towards the inside
how much blur to apply to the shadow
type Gsk_Outset_Shadow_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Outset_Shadow_Node;
Outline : not null access Gsk.Rounded_Rect.Gsk_Rounded_Rect;
Color : not null access Gdk.RGBA.Gdk_RGBA;
Dx : Interfaces.C.C_float;
Dy : Interfaces.C.C_float;
Spread : Interfaces.C.C_float;
Blur_Radius : Interfaces.C.C_float)
Creates a GskRenderNode that will render an outset shadow around the box given by Outline. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
outline of the region surrounded by shadow
color of the shadow
horizontal offset of shadow
vertical offset of shadow
how far the shadow spreads towards the inside
how much blur to apply to the shadow
procedure Initialize
(Self : not null access Gsk_Outset_Shadow_Node_Record'Class;
Outline : not null access Gsk.Rounded_Rect.Gsk_Rounded_Rect;
Color : not null access Gdk.RGBA.Gdk_RGBA;
Dx : Interfaces.C.C_float;
Dy : Interfaces.C.C_float;
Spread : Interfaces.C.C_float;
Blur_Radius : Interfaces.C.C_float)
Creates a GskRenderNode that will render an outset shadow around the box given by Outline. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
outline of the region surrounded by shadow
color of the shadow
horizontal offset of shadow
vertical offset of shadow
how far the shadow spreads towards the inside
how much blur to apply to the shadow