diff options
Diffstat (limited to 'AnimationObject.h')
| -rw-r--r-- | AnimationObject.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/AnimationObject.h b/AnimationObject.h new file mode 100644 index 0000000..cec9268 --- /dev/null +++ b/AnimationObject.h @@ -0,0 +1,40 @@ +#ifndef _ANIMATION_OBJECT +#define _ANIMATION_OBJECT + +#include "Animation.h" + +struct AO_CheckerPattern { + u32 squareSize; + byte4 colorA; + byte4 colorB; +}; + +ARGB AO_CheckerPattern(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +struct AO_SquareSettings { + u32 width; + u32 height; + byte4 color; +}; + +ARGB AO_Square(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +struct AO_Image { + RGBImage img; + double zoom; + bool noRepeat; +}; + +ARGB AO_Image(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +struct AO_Line { + double a; + double b; + double c; + double width; + byte4 color; +}; + +ARGB AO_Line(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +#endif /* _ANIMATION_OBJECT */ |
