blob: f46c2c05aec09e41000ec4ada167254dad549bbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
typedef struct fz_pixmap_s fz_pixmap;
typedef struct fz_colorspace_s fz_colorspace;
struct fz_pixmap_s
{
int refcount;
int x, y, w, h;
int n, a;
int stride;
fz_colorspace *cs;
short *samples;
};
fz_error *fz_newpixmap(fz_pixmap **mapp, int x, int y, int w, int h, int n, int a);
fz_pixmap *fz_keeppixmap(fz_pixmap *map);
void fz_droppixmap(fz_pixmap *map);
void fz_clearpixmap(fz_pixmap *map);
void fz_blendover(fz_pixmap *dst, fz_pixmap *fg, fz_pixmap *bg);
void fz_blendmask(fz_pixmap *dst, fz_pixmap *color, fz_pixmap *shape);
|