tinygi

view src/image.h @ 2:72752a1b3dbe

images and shapes
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 21 Jul 2015 04:30:00 +0300
parents
children
line source
1 #ifndef TGI_IMAGE_H_
2 #define TGI_IMAGE_H_
4 struct image {
5 int width, height;
6 float *pixels;
7 };
9 void tgi_init_image(struct image *img);
10 void tgi_destroy_image(struct image *img);
12 int tgi_resize_image(struct image *img, int xsz, int ysz);
14 #endif /* TGI_IMAGE_H_ */