diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-11 16:30:59 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-14 16:09:40 +0000 |
commit | 7703ad8b2564f2f3a99b85eca5af276d7ba0e3e4 (patch) | |
tree | abda358d9d039ba76d570a34b7c16d4b79a33724 /source/fitz/glyph-cache-imp.h | |
parent | 37f95f87bdfb2e0b01d649afae5fffe60bf99d3a (diff) | |
download | mupdf-7703ad8b2564f2f3a99b85eca5af276d7ba0e3e4.tar.xz |
More API tweaks.
Move internal functions from public to private headers.
Diffstat (limited to 'source/fitz/glyph-cache-imp.h')
-rw-r--r-- | source/fitz/glyph-cache-imp.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/fitz/glyph-cache-imp.h b/source/fitz/glyph-cache-imp.h new file mode 100644 index 00000000..e5af15ea --- /dev/null +++ b/source/fitz/glyph-cache-imp.h @@ -0,0 +1,25 @@ +#ifndef MUPDF_FITZ_GLYPH_CACHE_IMP_H +#define MUPDF_FITZ_GLYPH_CACHE_IMP_H + +#include "mupdf/fitz/system.h" +#include "mupdf/fitz/context.h" +#include "mupdf/fitz/math.h" +#include "mupdf/fitz/font.h" +#include "mupdf/fitz/path.h" +#include "mupdf/fitz/pixmap.h" +#include "mupdf/fitz/device.h" +#include "mupdf/fitz/glyph-cache.h" + +fz_path *fz_outline_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *ctm); +fz_path *fz_outline_ft_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *trm); +fz_glyph *fz_render_ft_glyph(fz_context *ctx, fz_font *font, int cid, const fz_matrix *trm, int aa); +fz_pixmap *fz_render_ft_glyph_pixmap(fz_context *ctx, fz_font *font, int cid, const fz_matrix *trm, int aa); +fz_glyph *fz_render_t3_glyph(fz_context *ctx, fz_font *font, int cid, const fz_matrix *trm, fz_colorspace *model, const fz_irect *scissor); +fz_pixmap *fz_render_t3_glyph_pixmap(fz_context *ctx, fz_font *font, int cid, const fz_matrix *trm, fz_colorspace *model, const fz_irect *scissor); +fz_glyph *fz_render_ft_stroked_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *trm, const fz_matrix *ctm, const fz_stroke_state *state); +fz_pixmap *fz_render_ft_stroked_glyph_pixmap(fz_context *ctx, fz_font *font, int gid, const fz_matrix *trm, const fz_matrix *ctm, const fz_stroke_state *state); +fz_glyph *fz_render_glyph(fz_context *ctx, fz_font*, int, fz_matrix *, fz_colorspace *model, const fz_irect *scissor, int alpha); +fz_glyph *fz_render_stroked_glyph(fz_context *ctx, fz_font*, int, fz_matrix *, const fz_matrix *, const fz_stroke_state *stroke, const fz_irect *scissor); +fz_pixmap *fz_render_stroked_glyph_pixmap(fz_context *ctx, fz_font*, int, fz_matrix *, const fz_matrix *, const fz_stroke_state *stroke, const fz_irect *scissor); + +#endif |