1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 */
|