diff options
author | Tor Andersson <tor@ghostscript.com> | 2005-04-04 08:58:34 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2005-04-04 08:58:34 +0200 |
commit | 0ba6f06f3e2cebf7cf519ce38dc8fdfe34734603 (patch) | |
tree | e70c5004059dbc4d8fdd245832e441b930fd86cc /render/pixmap.c | |
parent | fb2db10b9760e7692ef16b4cf70bfae188b836af (diff) | |
download | mupdf-0ba6f06f3e2cebf7cf519ce38dc8fdfe34734603.tar.xz |
rename rect fields to x0 y0 x1 y1
Diffstat (limited to 'render/pixmap.c')
-rw-r--r-- | render/pixmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/render/pixmap.c b/render/pixmap.c index 4e6823d9..8f34ebcd 100644 --- a/render/pixmap.c +++ b/render/pixmap.c @@ -28,9 +28,9 @@ fz_error * fz_newpixmapwithrect(fz_pixmap **pixp, fz_irect r, int n) { return fz_newpixmap(pixp, - r.min.x, r.min.y, - r.max.x - r.min.x, - r.max.y - r.min.y, n); + r.x0, r.y0, + r.x1 - r.x0, + r.y1 - r.y0, n); } fz_error * |