From 602cc73633568beec1afe7068bb3a1040b20bba0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 16 Jun 2016 16:34:17 +0200 Subject: 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. --- docs/mutool/run.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/mutool') 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.
-
new DisplayList() -
Create an empty display list. +
new DisplayList(mediabox) +
Create an empty display list. The mediabox rect has the bounds of the page in points.
DisplayList#run(device, transform)
Play back the recorded device calls onto the device.
DisplayList#toPixmap(transform, colorspace, alpha) -- cgit v1.2.3