From ddb92b7c3fdfcf9bf3d7463dde4e662ca10f79ba Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 25 Jan 2013 14:07:29 +0100 Subject: Eliminate fz_bbox in favor of fz_rect everywhere. --- draw/draw_glyph.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'draw/draw_glyph.c') 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 -- cgit v1.2.3