feat: add stroke thickness

This commit is contained in:
2026-03-05 00:51:20 +05:30
parent 8ac783e6e0
commit eefd95e4d2
15 changed files with 379 additions and 356 deletions

View File

@@ -2,22 +2,22 @@
#define COLOR_H_
typedef struct VektorColor {
unsigned char r;
unsigned char g;
unsigned char b;
unsigned char a;
unsigned char r;
unsigned char g;
unsigned char b;
unsigned char a;
} VektorColor;
static VektorColor vektor_color_blank = (VektorColor){0, 0, 0, 0};
static inline VektorColor vektor_color_new(unsigned char r, unsigned char g,
unsigned char b, unsigned char a) {
return (VektorColor){r, g, b, a};
return (VektorColor){r, g, b, a};
}
static inline VektorColor vektor_color_solid(unsigned char r, unsigned char g,
unsigned char b) {
return (VektorColor){r, g, b, 255};
return (VektorColor){r, g, b, 255};
}
#endif // COLOR_H_