[AdgCanvas] Implemented imposed canvas size
commit38bae5d960fbc5984ce8b071802885c3b89ce1e1
authorNicola Fontana <ntd@entidi.it>
Sat, 12 Jun 2010 12:37:36 +0000 (12 14:37 +0200)
committerNicola Fontana <ntd@entidi.it>
Sat, 12 Jun 2010 12:37:36 +0000 (12 14:37 +0200)
tree353cb959a84bedd9fdccab18ca2f1a8717143553
parent355b779196c65bc1f6842c5816109101cc970d4c
[AdgCanvas] Implemented imposed canvas size

Using the AdgCanvas:size property to impose that specific size when set.
If the size is not set (that is, if it is 0) the behavior is the old
one, that is the canvas size is determined by the contained entities.

Modified the adg-demo program to deal with the new feature.

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