[ADG] Avoid to forcibly set the CTM on the cr
commit0187fb900db694d8a4785bfaf69c331d032ec861
authorNicola Fontana <ntd@entidi.it>
Wed, 23 Jun 2010 19:18:37 +0000 (23 21:18 +0200)
committerNicola Fontana <ntd@entidi.it>
Wed, 23 Jun 2010 19:18:37 +0000 (23 21:18 +0200)
tree327ec89670d2f08205c438705d4e6fb425c48932
parent95cc5ee4dc652f51221e04f7e360adca29bd4cd4
[ADG] Avoid to forcibly set the CTM on the cr

The GTK+ printing API modifies the ctm on the cairo context accordingly
to the page orientation but the ADG canvas will forcibly set the current
transformation matrix, overwriting whatever set.

Modified all the render() methods to not set the ctm: they will properly
modify the ctm instead. This allows to set a custom ctm before the
rendering that affects everything, as requested by the printing API.
13 files changed:
src/adg/adg-adim.c
src/adg/adg-arrow.c
src/adg/adg-canvas.c
src/adg/adg-entity.c
src/adg/adg-hatch.c
src/adg/adg-ldim.c
src/adg/adg-logo.c
src/adg/adg-projection.c
src/adg/adg-rdim.c
src/adg/adg-ruled-fill.c
src/adg/adg-stroke.c
src/adg/adg-table.c
src/adg/adg-toy-text.c