About all my projects
NO_TITLE

NO_TITLE

Gnome::Graphene::T-size

Class initialization

new

Initialization of a type class is simple and only needed when the standalone functions are used.

method new ( )

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

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.