update build system to use RcB2
[rofl0r-pato.git] / imginterface.h
blob536287ad97638fa20a65172f153b07566e82406a
1 #ifndef IMGINTERFACE_H
2 #define IMGINTERFACE_H
4 #include <stddef.h>
6 #include "../concol/rgb.h"
8 typedef struct {
9 char* data;
10 size_t w;
11 size_t h;
12 } Image;
14 Image* getWorldImage(void);
15 void img_fillcolor(Image* img, rgb_t color);
16 Image* img_new(size_t w, size_t h);
17 Image* img_scale(Image* img, size_t zoomFactor_w, size_t zoomFactor_h);
18 void img_embed(Image* dest, Image* source, size_t x, size_t y);
20 #pragma RcB2 DEP "imginterface.c"
22 #endif