Matrix

constructor()

Allocate a new Matrix.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new Matrix using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(xx: <Error class: unknown class>, xy: <Error class: unknown class>, yx: <Error class: unknown class>, yy: <Error class: unknown class>, x0: <Error class: unknown class>, y0: <Error class: unknown class>)

Allocate a new Matrix.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

xx

1st component of the transformation matrix

xy

2nd component of the transformation matrix

yx

3rd component of the transformation matrix

yy

4th component of the transformation matrix

x0

x translation

y0

y translation


constructor(xx: <Error class: unknown class>, xy: <Error class: unknown class>, yx: <Error class: unknown class>, yy: <Error class: unknown class>, x0: <Error class: unknown class>, y0: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new Matrix using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

xx

1st component of the transformation matrix

xy

2nd component of the transformation matrix

yx

3rd component of the transformation matrix

yy

4th component of the transformation matrix

x0

x translation

y0

y translation

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)