About my projects, examples and tutorials
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 ( )
Code

Record N-Size§

class N-Size:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {

  has gfloat $.width;
  has gfloat $.height;
}
Code
  • 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] )
Code

Return value; a constant size.