[demo] Backup/restore global map while printing
commitc06b439cb2ff052c4479bf7de3bc3a7b8a4e3a0c
authorNicola Fontana <ntd@entidi.it>
Sun, 27 Jun 2010 08:33:35 +0000 (27 10:33 +0200)
committerNicola Fontana <ntd@entidi.it>
Sun, 27 Jun 2010 08:33:35 +0000 (27 10:33 +0200)
tree3e0539fb205bc0d00aad675d1aef40358f73af15
parent9d18460c499685926e4f3d1f8515ba3ece25d973
[demo] Backup/restore global map while printing

To emit the drawing for previewing and printing purpose, the global map
of the canvas must be set to the identity matrix. The old map is stored
and restored as soon as the drawing has been generated, so the artifacts
rendered on the screen due to wrong global map (highlighted in the
previous commit) are now vanished.

Closes issue #44: http://dev.entidi.com/p/adg/issues/44/
demo/adg-demo.c