Instruction set reference
HIPE_OP_USE_CANVAS
Sets the current active canvas to be used for drawing.
Note: Only the "2d" context type is supported (WebGL is not available). Requesting any other context type leaves this element with no active context, so subsequent HIPE_OP_CANVAS_ACTION/HIPE_OP_CANVAS_SET_PROPERTY instructions are silently ignored until a valid HIPE_OP_USE_CANVAS call is made. See HIPE_OP_CANVAS_ACTION and HIPE_OP_CANVAS_SET_PROPERTY for the drawing methods and properties available.
- location: The canvas element to use as the current active drawing element.
- arg[0]: the canvas drawing context to be used (e.g. "2d"), as defined in HTML/CSS specifications.
