diff options
author | axtloss <axtlos@getcryst.al> | 2024-02-25 20:24:05 +0100 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-02-25 20:24:05 +0100 |
commit | 995fac7e0ce325ada75a6f921926b1f923e28dd0 (patch) | |
tree | cb748baeddfe34723cd7d2eefaee0ff99cf8a206 /fbwarn/src/BVGTypes.h | |
parent | 997368fe5f7ae8651982d0ba509bb54051b54e34 (diff) | |
download | fsverify-995fac7e0ce325ada75a6f921926b1f923e28dd0.tar.gz fsverify-995fac7e0ce325ada75a6f921926b1f923e28dd0.tar.bz2 |
add move bvg functions
Diffstat (limited to 'fbwarn/src/BVGTypes.h')
-rw-r--r-- | fbwarn/src/BVGTypes.h | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/fbwarn/src/BVGTypes.h b/fbwarn/src/BVGTypes.h index 1ed1919..be7669f 100644 --- a/fbwarn/src/BVGTypes.h +++ b/fbwarn/src/BVGTypes.h @@ -1,8 +1,62 @@ #include <raylib.h> #include <stdbool.h> + typedef struct BVGRectangle { Rectangle rayrectangle; - Color color; bool fill; float lineThickness; + Color color; } BVGRectangle; + +typedef struct BVGRoundedRectangle { + BVGRectangle rectangle; + float roundness; + int segments; +} BVGRoundedRectangle; + +typedef struct BVGCircle { + int centerX; + int centerY; + float radius; + bool drawSector; + float startAngle; + float endAngle; + int segments; + Color color; +} BVGCircle; + +typedef struct BVGRing { + int centerX; + int centerY; + float inRadius; + float outRadius; + float startAngle; + float endAngle; + int segmets; + Color color; +} BVGRing; + +typedef struct BVGEllipse { + int centerX; + int centerY; + float horizontalRadius; + float verticalRadius; + bool fill; + Color color; +} BVGEllipse; + +typedef struct BVGTriangle { + Vector2 corner1; + Vector2 corner2; + Vector2 corner3; + bool fill; + Color color; +} BVGTriangle; + +typedef struct BVGText { + char *text; + int x; + int y; + int fontSize; + Color color; +} BVGText; |