summaryrefslogtreecommitdiff
path: root/docs/mutool/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/mutool/examples')
-rw-r--r--docs/mutool/examples/draw-device.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/mutool/examples/draw-device.js b/docs/mutool/examples/draw-device.js
index 140fb54b..21a7a65a 100644
--- a/docs/mutool/examples/draw-device.js
+++ b/docs/mutool/examples/draw-device.js
@@ -4,7 +4,7 @@ var font = new Font("Times-Roman");
var image = new Image("example.png");
var path, text;
-var pixmap = new Pixmap(DeviceRGB, [0,0,500,600]);
+var pixmap = new Pixmap(DeviceRGB, [0,0,500,600], false);
pixmap.clear(255);
var device = new DrawDevice(pixmap);
var transform = [2,0,0,2,0,0]