Compilation Units
Tagged Types
A size.
function Equal
(Self : not null access Graphene_Size_T;
B : not null access Graphene_Size_T) return Boolean
Checks whether the two give Graphene.Size.Graphene_Size_T are equal. Since: gtk+ 1.0
a Graphene.Size.Graphene_Size_T
true if the sizes are equal
procedure Free (Self : not null access Graphene_Size_T)
Frees the resources allocated by graphene_size_alloc. Since: gtk+ 1.0
function From_Object_Free
(B : not null access Graphene_Size_T) return Graphene_Size_T
Return the underlying object and free the pointer. This is meant to be used internally by GtkAda, and should not in general be called by user code.
function Get_Type return Glib.GType
type Graphene_Size_T is record
Width : Interfaces.C.C_float;
Height : Interfaces.C.C_float;
end record;
A size.
function Init
(Self : not null access Graphene_Size_T;
Width : Interfaces.C.C_float;
Height : Interfaces.C.C_float) return access Graphene_Size_T
Initializes a Graphene.Size.Graphene_Size_T using the given Width and Height. Since: gtk+ 1.0
the width
the height
the initialized Graphene.Size.Graphene_Size_T
function Init_From_Size
(Self : not null access Graphene_Size_T;
Src : not null access Graphene_Size_T) return access Graphene_Size_T
Initializes a Graphene.Size.Graphene_Size_T using the width and height of the given Src. Since: gtk+ 1.0
a Graphene.Size.Graphene_Size_T
the initialized Graphene.Size.Graphene_Size_T
procedure Interpolate
(Self : not null access Graphene_Size_T;
B : not null access Graphene_Size_T;
Factor : Gdouble;
Res : not null access Graphene_Size_T)
Linearly interpolates the two given Graphene.Size.Graphene_Size_T using the given interpolation Factor. Since: gtk+ 1.0
a Graphene.Size.Graphene_Size_T
the linear interpolation factor
return location for the interpolated size
procedure Scale
(Self : not null access Graphene_Size_T;
Factor : Interfaces.C.C_float;
Res : not null access Graphene_Size_T)
Scales the components of a Graphene.Size.Graphene_Size_T using the given Factor. Since: gtk+ 1.0
the scaling factor
return location for the scaled size
function Zero return access constant Graphene_Size_T
A constant pointer to a zero Graphene.Size.Graphene_Size_T, useful for equality checks and interpolations. Since: gtk+ 1.0
a constant size