diff options
Diffstat (limited to 'ganv/canvas.h')
-rw-r--r-- | ganv/canvas.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ganv/canvas.h b/ganv/canvas.h index 3ffb55c..5d1c5ee 100644 --- a/ganv/canvas.h +++ b/ganv/canvas.h @@ -134,6 +134,14 @@ gboolean ganv_canvas_empty(const GanvCanvas* canvas); /** + * ganv_canvas_get_size: + * + * Gets the width and height of the canvas. + */ +void +ganv_canvas_get_size(GanvCanvas* canvas, double* width, double* height); + +/** * ganv_canvas_resize: * * Resize the canvas to the given dimensions. |