mupdf
Loading...
Searching...
No Matches
fz_culling_options Struct Reference

#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)

Detailed Description

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.

Member Data Documentation

◆ cull_fill_path

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)

◆ cull_glyph

int(* fz_culling_options::cull_glyph) (fz_context *ctx, void *opaque, fz_rect rect)

◆ cull_stroke_path

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)

◆ drop

void(* fz_culling_options::drop) (fz_context *ctx, void *opaque)

◆ opaque

void* fz_culling_options::opaque

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/mupdf/checkouts/1.28.0/include/mupdf/fitz/device.h