feat: add polygon tool

This commit is contained in:
Beriff
2026-03-09 23:26:12 +07:00
parent 9b4248981e
commit 2bdcbfae1f
8 changed files with 93 additions and 41 deletions

View File

@@ -6,7 +6,10 @@
#include "../ui/vektorcanvas.h"
#include "src/core/raster.h"
typedef enum VektorAppTool { VektorLineTool } VektorAppTool;
typedef enum VektorAppTool {
VektorLineTool,
VektorPolygonTool,
} VektorAppTool;
typedef struct VektorAppState {
VektorWidgetState* widgetState;