| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
. |
| 6 |
|
| 7 |
|
| 8 |
#ifndef line_drawing_h |
| 9 |
#define line_drawing_h |
| 10 |
|
| 11 |
#include <stdint.h> |
| 12 |
|
| 13 |
struct line_image { |
| 14 |
uint8_t *data; |
| 15 |
int bgcolour; |
| 16 |
size_t size; |
| 17 |
}; |
| 18 |
|
| 19 |
void DrawVectorPicture(int image); |
| 20 |
void DrawSomeVectorPixels(int from_start); |
| 21 |
int DrawingVector(void); |
| 22 |
|
| 23 |
extern struct line_image *LineImages; |
| 24 |
|
| 25 |
typedef enum { |
| 26 |
NO_VECTOR_IMAGE, |
| 27 |
DRAWING_VECTOR_IMAGE, |
| 28 |
SHOWING_VECTOR_IMAGE |
| 29 |
} VectorStateType; |
| 30 |
|
| 31 |
extern VectorStateType VectorState; |
| 32 |
extern int vector_image_shown; |
| 33 |
|
| 34 |
#endif |