diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 16:54:13 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 16:57:53 +0100 |
commit | 151188419c585e60a304e8168909eb449d8ba7fe (patch) | |
tree | 5ddcce5d361fd19a3407d5a31d103eae412e38ab /apps | |
parent | 29f7d13d37022303c5d93ddd2942f6b87959f432 (diff) | |
download | mupdf-151188419c585e60a304e8168909eb449d8ba7fe.tar.xz |
Rename fz_irect back to fz_bbox.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mudraw.c | 2 | ||||
-rw-r--r-- | apps/pdfapp.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c index d0e597d7..e36b1570 100644 --- a/apps/mudraw.c +++ b/apps/mudraw.c @@ -403,7 +403,7 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum) float zoom; fz_matrix ctm; fz_rect bounds, tbounds; - fz_irect ibounds; + fz_bbox ibounds; fz_pixmap *pix = NULL; int w, h; diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 1d2a2fa2..143a18c4 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -567,7 +567,7 @@ static void pdfapp_updatepage(pdfapp_t *app) while ((annot = fz_poll_changed_annot(idoc, app->page)) != NULL) { fz_rect bounds = fz_transform_rect(ctm, fz_bound_annot(app->doc, annot)); - fz_irect bbox = fz_round_rect(bounds); + fz_bbox bbox = fz_round_rect(bounds); fz_clear_pixmap_rect_with_value(app->ctx, app->image, 255, bbox); idev = fz_new_draw_device_with_bbox(app->ctx, app->image, bbox); @@ -591,7 +591,7 @@ static void pdfapp_showpage(pdfapp_t *app, int loadpage, int drawpage, int repai fz_colorspace *colorspace; fz_matrix ctm; fz_rect bounds; - fz_irect bbox; + fz_bbox bbox; fz_cookie cookie = { 0 }; if (!app->nowaitcursor) @@ -1339,7 +1339,7 @@ void pdfapp_onkey(pdfapp_t *app, int c) void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int state) { fz_context *ctx = app->ctx; - fz_irect rect = fz_pixmap_bbox(app->ctx, app->image); + fz_bbox rect = fz_pixmap_bbox(app->ctx, app->image); fz_link *link; fz_matrix ctm; fz_point p; |