Class CanvasUtility¶
Defined in File canvasutility.h
Class Documentation¶
-
class
CanvasUtility
¶ Public Static Functions
-
static void
copy_from_canvas
(Canvas &canvas, uint8_t **target, uint16_t target_x, uint16_t target_y)¶ Copies frames from a Canvas.
- Parameters
canvas
: Canvas to copy from.target
: Target frameset.target_x
: Target width.target_y
: Target height.
-
static void
copy_to_canvas
(Canvas &canvas, uint8_t **source, uint16_t target_x, uint16_t target_y, MaestroControlWidget &maestro_control)¶
-
void
load_image
(const QString &filename, Canvas &canvas, MaestroControlWidget *maestro_control = nullptr)¶ Loads an image into the Canvas.
- Parameters
filename
: Image location.canvas
: Canvas to load the image into.maestro_control
: Optional MaestroControl for generating Cues.
-
static void