summaryrefslogtreecommitdiff
path: root/third_party/spiro/ppedit/image.h
blob: a4724051942743cdda06d88d7f56f54af51baff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
typedef struct _image image;

image *
load_image_file(const char *fn, char **reason);

void
free_image(image *im);

void
render_image(image *im, const double affine[6],
	     unsigned char *buf, int rowstride, int x0, int y0, int x1, int y1);