T-Size
Gnome::Graphene::T-size
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
Class initialization
new
Initialization of a type class is simple and only needed when the standalone functions are used.
method new ( )
#------------------------------------------------------------------------------- #--[Record Structure Documentation]--------------------------------------------- #-------------------------------------------------------------------------------
Record N-Size
class N-Size:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {
has gfloat $.width;
has gfloat $.height;
}
width; the width
height; the height
#------------------------------------------------------------------------------- #--[Standalone Functions]------------------------------------------------------- #-------------------------------------------------------------------------------
Standalone Functions
#-------------------------------------------------------------------------------
size-zero
A constant pointer to a zero Gnome::Graphene::T-size, useful for equality checks and interpolations.
method size-zero (--> CArray[N-Size] )
Return value; a constant size.