Compilation Units
Tagged Types
A render node for a GdkTexture.
function Create
(Object : not null access System.Address)
return Gsk_Texture_Node_Record
function Get_Texture
(Self : Gsk_Texture_Node) return Gdk.Texture.Gdk_Texture
Retrieves the GdkTexture used when creating this GskRenderNode.
the GdkTexture. Has transfer-ownership='none'.
function Get_Type return Glib.GType
type Gsk_Texture_Node is access all Gsk_Texture_Node_Record'Class;
function Gsk_Texture_Node_New
(Texture : not null access Gdk.Texture.Gdk_Texture_Record'Class;
Bounds : not null access Graphene.Rect.Graphene_Rect_T)
return Gsk_Texture_Node
Creates a GskRenderNode that will render the given Texture into the area given by Bounds. Note that GSK applies linear filtering when textures are scaled and transformed. See [classGsk.TextureScaleNode] for a way to influence filtering.
the GdkTexture
the rectangle to render the texture into
type Gsk_Texture_Node_Record is new Gsk_Render_Node_Record with null record;
procedure Gtk_New
(Self : out Gsk_Texture_Node;
Texture : not null access Gdk.Texture.Gdk_Texture_Record'Class;
Bounds : not null access Graphene.Rect.Graphene_Rect_T)
Creates a GskRenderNode that will render the given Texture into the area given by Bounds. Note that GSK applies linear filtering when textures are scaled and transformed. See [classGsk.TextureScaleNode] for a way to influence filtering. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the GdkTexture
the rectangle to render the texture into
procedure Initialize
(Self : not null access Gsk_Texture_Node_Record'Class;
Texture : not null access Gdk.Texture.Gdk_Texture_Record'Class;
Bounds : not null access Graphene.Rect.Graphene_Rect_T)
Creates a GskRenderNode that will render the given Texture into the area given by Bounds. Note that GSK applies linear filtering when textures are scaled and transformed. See [classGsk.TextureScaleNode] for a way to influence filtering. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the GdkTexture
the rectangle to render the texture into