diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-04-11 18:54:28 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-04-11 18:54:28 +0200 |
commit | b1d837f84cbbaac4bf8362d7a2ca7dd0e4b7f8c1 (patch) | |
tree | bac1eaa2a4579d21702b82daa2d2ee45f7db6171 /draw/pathscan.c | |
parent | 57d53e37c296774cb4170aae6e771efc72931919 (diff) | |
download | mupdf-b1d837f84cbbaac4bf8362d7a2ca7dd0e4b7f8c1.tar.xz |
Rename fz_irect to fz_bbox.
Diffstat (limited to 'draw/pathscan.c')
-rw-r--r-- | draw/pathscan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/draw/pathscan.c b/draw/pathscan.c index 9369e0ff..90f888fb 100644 --- a/draw/pathscan.c +++ b/draw/pathscan.c @@ -36,7 +36,7 @@ fz_newgel(void) } void -fz_resetgel(fz_gel *gel, fz_irect clip) +fz_resetgel(fz_gel *gel, fz_bbox clip) { if (fz_isinfiniterect(clip)) { @@ -63,10 +63,10 @@ fz_freegel(fz_gel *gel) fz_free(gel); } -fz_irect +fz_bbox fz_boundgel(fz_gel *gel) { - fz_irect bbox; + fz_bbox bbox; bbox.x0 = fz_idiv(gel->bbox.x0, HSCALE); bbox.y0 = fz_idiv(gel->bbox.y0, VSCALE); bbox.x1 = fz_idiv(gel->bbox.x1, HSCALE) + 1; @@ -433,7 +433,7 @@ static inline void blit(fz_pixmap *pix, int x, int y, } fz_error -fz_scanconvert(fz_gel *gel, fz_ael *ael, int eofill, fz_irect clip, +fz_scanconvert(fz_gel *gel, fz_ael *ael, int eofill, fz_bbox clip, fz_pixmap *pix, unsigned char *argb, int over) { fz_error error; |