summaryrefslogtreecommitdiff
path: root/docs/mutool/examples/draw-device.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/mutool/examples/draw-device.js')
-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 21a7a65a..42ec263d 100644
--- a/docs/mutool/examples/draw-device.js
+++ b/docs/mutool/examples/draw-device.js
@@ -6,7 +6,7 @@ var path, text;
var pixmap = new Pixmap(DeviceRGB, [0,0,500,600], false);
pixmap.clear(255);
-var device = new DrawDevice(pixmap);
+var device = new DrawDevice(Identity, pixmap);
var transform = [2,0,0,2,0,0]
{
text = new Text();