summaryrefslogtreecommitdiff
path: root/draw/draw_mesh.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-01-30 16:54:13 +0100
committerTor Andersson <tor.andersson@artifex.com>2013-01-30 16:57:53 +0100
commit151188419c585e60a304e8168909eb449d8ba7fe (patch)
tree5ddcce5d361fd19a3407d5a31d103eae412e38ab /draw/draw_mesh.c
parent29f7d13d37022303c5d93ddd2942f6b87959f432 (diff)
downloadmupdf-151188419c585e60a304e8168909eb449d8ba7fe.tar.xz
Rename fz_irect back to fz_bbox.
Diffstat (limited to 'draw/draw_mesh.c')
-rw-r--r--draw/draw_mesh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/draw/draw_mesh.c b/draw/draw_mesh.c
index bbd3dc02..03d187f7 100644
--- a/draw/draw_mesh.c
+++ b/draw/draw_mesh.c
@@ -213,7 +213,7 @@ static inline void step_edge(int *ael, int *del, int n)
}
static void
-fz_paint_triangle(fz_pixmap *pix, float *av, float *bv, float *cv, int n, fz_irect bbox)
+fz_paint_triangle(fz_pixmap *pix, float *av, float *bv, float *cv, int n, fz_bbox bbox)
{
float poly[MAXV][MAXN];
float temp[MAXV][MAXN];
@@ -307,7 +307,7 @@ struct paint_tri_data
fz_context *ctx;
fz_shade *shade;
fz_pixmap *dest;
- fz_irect bbox;
+ fz_bbox bbox;
};
static void
@@ -349,7 +349,7 @@ do_paint_tri(void *arg, fz_vertex *av, fz_vertex *bv, fz_vertex *cv)
}
void
-fz_paint_shade(fz_context *ctx, fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, fz_irect bbox)
+fz_paint_shade(fz_context *ctx, fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, fz_bbox bbox)
{
unsigned char clut[256][FZ_MAX_COLORS];
fz_pixmap *temp = NULL;