diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-16 16:34:17 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-06-17 14:53:21 +0200 |
commit | 602cc73633568beec1afe7068bb3a1040b20bba0 (patch) | |
tree | 84cb02e9c58af4e70e36b7a0878b0de1d49f6ec4 /docs/mutool/run.html | |
parent | ccaf716d6c3f20731aaed277653cf3b1be4e218b (diff) | |
download | mupdf-602cc73633568beec1afe7068bb3a1040b20bba0.tar.xz |
Add mediabox argument to fz_new_display_list.
To return the proper size from fz_bound_display_list, which has been
broken since the begin_page device call was removed.
Diffstat (limited to 'docs/mutool/run.html')
-rw-r--r-- | docs/mutool/run.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/mutool/run.html b/docs/mutool/run.html index 44eedec0..48c47d81 100644 --- a/docs/mutool/run.html +++ b/docs/mutool/run.html @@ -272,8 +272,8 @@ since then you can avoid reinterpreting the page each time. Be aware though, tha will keep all the graphics required in memory, so will increase the amount of memory required. <dl> -<dt>new DisplayList() -<dd>Create an empty display list. +<dt>new DisplayList(mediabox) +<dd>Create an empty display list. The mediabox rect has the bounds of the page in points. <dt>DisplayList#run(device, transform) <dd>Play back the recorded device calls onto the device. <dt>DisplayList#toPixmap(transform, colorspace, alpha) |