summaryrefslogtreecommitdiff
path: root/AnimationObject.h
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-16 20:59:04 +0200
committerSyndamia <kamen@syndamia.com>2026-03-16 20:59:04 +0200
commitc9333c94d9d2ee618b0d88e13d8cbb456809372b (patch)
tree19acc2895f1f4abcaf2063addb0f1811ff5514d8 /AnimationObject.h
parentef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93 (diff)
downloadppm_graphics-c9333c94d9d2ee618b0d88e13d8cbb456809372b.tar
ppm_graphics-c9333c94d9d2ee618b0d88e13d8cbb456809372b.tar.gz
ppm_graphics-c9333c94d9d2ee618b0d88e13d8cbb456809372b.zip
feat: Implement horizontal line segment
Diffstat (limited to 'AnimationObject.h')
-rw-r--r--AnimationObject.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/AnimationObject.h b/AnimationObject.h
index 95aa115..16f0b0e 100644
--- a/AnimationObject.h
+++ b/AnimationObject.h
@@ -44,4 +44,13 @@ struct AO_Line {
ARGB AO_Line(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+struct AO_HorSegment {
+ i32 left;
+ i32 right;
+ double width;
+ color color;
+};
+
+ARGB AO_HorSegment(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+
#endif /* _ANIMATION_OBJECT */