Companion

object Companion

Functions

Link copied to clipboard
fun alloc(): Vec2

Allocates a new #graphene_vec2_t structure.

Link copied to clipboard
fun one(): Vec2

Retrieves a constant vector with (1, 1) components.

Link copied to clipboard
open fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): Vec2
Link copied to clipboard
fun xAxis(): Vec2

Retrieves a constant vector with (1, 0) components.

Link copied to clipboard
fun yAxis(): Vec2

Retrieves a constant vector with (0, 1) components.

Link copied to clipboard
fun zero(): Vec2

Retrieves a constant vector with (0, 0) components.