A table of virtual function implementing hpgs_image
.
More...
#include <hpgs.h>
Data Fields | |
int(* | get_pixel )(const hpgs_image *_this, int x, int y, hpgs_paint_color *c, double *alpha) |
int(* | put_pixel )(hpgs_image *_this, int x, int y, const hpgs_paint_color *c, double alpha) |
int(* | put_chunk )(hpgs_image *_this, int x1, int x2, int y, const hpgs_paint_color *c) |
int(* | rop3_pixel )(hpgs_image *_this, int x, int y, const hpgs_paint_color *c, double alpha) |
int(* | rop3_chunk )(hpgs_image *_this, int x1, int x2, int y, const hpgs_paint_color *c) |
int(* | setrop3 )(hpgs_image *_this, hpgs_rop3_func_t rop3) |
int(* | setpatcol )(hpgs_image *_this, const hpgs_palette_color *p) |
int(* | resize )(hpgs_image *_this, int w, int h) |
int(* | set_resolution )(hpgs_image *pim, double x_dpi, double y_dpi) |
int(* | clear )(hpgs_image *_this) |
int(* | write )(hpgs_image *_this, const char *filename) |
int(* | get_data )(hpgs_image *_this, unsigned char **data, int *stride, int *depth) |
void(* | destroy )(hpgs_image *_this) |
A table of virtual function implementing hpgs_image
.
This structure has a public alias hpgs_image_vtable
and represents a table of functions for a specific implementation of hpgs_image
.