|
mupdf
|
#include <device.h>
Public Attributes | |
| void * | opaque |
| int(* | cull_glyph )(fz_context *ctx, void *opaque, fz_rect rect) |
| int(* | cull_fill_path )(fz_context *ctx, void *opaque, const fz_path *path, int even_odd, fz_matrix ctm, fz_colorspace *cs, const float *color, float alpha) |
| int(* | cull_stroke_path )(fz_context *ctx, void *opaque, const fz_path *path, const fz_stroke_state *state, fz_matrix ctm, fz_colorspace *cs, const float *color, float alpha) |
| void(* | drop )(fz_context *ctx, void *opaque) |
Options for the culling device.
cull_gylph is called when the cull device needs a decision about whether a given glyph should be culled or not. Return 0 to keep, 1 to cull, all other values reserved.
drop is called when the culling device is closed.
| int(* fz_culling_options::cull_fill_path) (fz_context *ctx, void *opaque, const fz_path *path, int even_odd, fz_matrix ctm, fz_colorspace *cs, const float *color, float alpha) |
| int(* fz_culling_options::cull_glyph) (fz_context *ctx, void *opaque, fz_rect rect) |
| int(* fz_culling_options::cull_stroke_path) (fz_context *ctx, void *opaque, const fz_path *path, const fz_stroke_state *state, fz_matrix ctm, fz_colorspace *cs, const float *color, float alpha) |
| void(* fz_culling_options::drop) (fz_context *ctx, void *opaque) |
| void* fz_culling_options::opaque |