glyph-cache.h 745 B

12345678910111213141516
  1. #ifndef MUPDF_FITZ_GLYPH_CACHE_H
  2. #define MUPDF_FITZ_GLYPH_CACHE_H
  3. #include "mupdf/fitz/context.h"
  4. #include "mupdf/fitz/geometry.h"
  5. #include "mupdf/fitz/font.h"
  6. #include "mupdf/fitz/pixmap.h"
  7. void fz_purge_glyph_cache(fz_context *ctx);
  8. fz_pixmap *fz_render_glyph_pixmap(fz_context *ctx, fz_font*, int, fz_matrix *, const fz_irect *scissor);
  9. void fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gid, const fz_matrix *trm, void *gstate, int nestedDepth);
  10. void fz_prepare_t3_glyph(fz_context *ctx, fz_font *font, int gid, int nestedDepth);
  11. void fz_dump_glyph_cache_stats(fz_context *ctx);
  12. float fz_subpixel_adjust(fz_context *ctx, fz_matrix *ctm, fz_matrix *subpix_ctm, unsigned char *qe, unsigned char *qf);
  13. #endif