diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-01-25 14:07:29 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 14:07:21 +0100 |
commit | ddb92b7c3fdfcf9bf3d7463dde4e662ca10f79ba (patch) | |
tree | f9d960048a60066ab8829af0fe6a22104ef30ee3 /draw/draw_glyph.c | |
parent | d8ad064b0c4bcd539c06c98af070613ff818ee0b (diff) | |
download | mupdf-ddb92b7c3fdfcf9bf3d7463dde4e662ca10f79ba.tar.xz |
Eliminate fz_bbox in favor of fz_rect everywhere.
Diffstat (limited to 'draw/draw_glyph.c')
-rw-r--r-- | draw/draw_glyph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/draw/draw_glyph.c b/draw/draw_glyph.c index de2f47c2..40c71241 100644 --- a/draw/draw_glyph.c +++ b/draw/draw_glyph.c @@ -95,7 +95,7 @@ fz_keep_glyph_cache(fz_context *ctx) } fz_pixmap * -fz_render_stroked_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, fz_matrix ctm, fz_stroke_state *stroke, fz_bbox scissor) +fz_render_stroked_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, fz_matrix ctm, fz_stroke_state *stroke, fz_rect scissor) { if (font->ft_face) { @@ -116,7 +116,7 @@ fz_render_stroked_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, This must not be inserted into the cache. */ fz_pixmap * -fz_render_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix ctm, fz_colorspace *model, fz_bbox scissor) +fz_render_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix ctm, fz_colorspace *model, fz_rect scissor) { fz_glyph_cache *cache; fz_glyph_key key; @@ -126,7 +126,7 @@ fz_render_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix ctm, fz_color if (size <= MAX_GLYPH_SIZE) { - scissor = fz_infinite_bbox; + scissor = fz_infinite_rect; do_cache = 1; } else |