fixed units of gfxpoly_intersection_area()
[swftools.git] / lib / gfximage.h
blob4f4db4b08035985179955e93800a0f0af9d0311e
1 #ifndef __gfximage_h__
2 #define __gfximage_h__
4 #include <stdbool.h>
5 #include "gfxdevice.h"
7 gfximage_t*gfximage_new(int width, int height);
8 void gfximage_save_jpeg(gfximage_t*image, const char*filename, int quality);
9 void gfximage_save_png(gfximage_t*image, const char*filename);
10 void gfximage_save_png_quick(gfximage_t*image, const char*filename);
11 gfximage_t* gfximage_rescale(gfximage_t*image, int newwidth, int newheight);
12 bool gfximage_has_alpha(gfximage_t*image);
13 void gfximage_free(gfximage_t*b);
15 #endif