pushCanvas abstract method

int pushCanvas(
  1. int width,
  2. int height
)

Creates a (non-GPU) Canvas and pushes it onto the Lua stack. Returns 1 on success, pushes nil and returns 1 on failure.

Implementation

int pushCanvas(int width, int height);