Drawing API

Namespaces

Functions

setcliprect

void setcliprect(z_index: int, rect?: Rect)

Defines or undefines the draw area (clip rectangle) for the given z-index.

void setcliprect(z_index: int, top_left: Point, bottom_right: Point)

Defines the draw area (clip rectangle) for the given z-index.

setfpscap

void setfpscap(cap: float)

Sets the FPS unlocker cap. The user has to enable the FPS unlocker themselves for this API to work. Note: Minimum FPS is 1, maximum FPS is 16384.

getfpscap

void getfpscap(cap: float)

Returns the current FPS unlocker cap.

getfpsmax

void getfpsmax(cap: float)

Returns currently active monitor's display rate, in hertz. Returns 0 on failure.

Classes

Enums