feat: add canvas zoom

This commit is contained in:
2026-03-10 16:27:52 +00:00
parent 22b6700768
commit 858a1f2c1a
5 changed files with 65 additions and 7 deletions

View File

@@ -25,6 +25,8 @@ typedef struct VektorCanvasRenderInfo {
// a pointer to appstate->selectedShape
VektorShape** selectedShape;
float zoom;
float canvasTransform[16];
} VektorCanvasRenderInfo;
void vektor_canvas_init(VektorWidgetState* state, VektorCanvas* canvasOut,