[AdgAlignment] Use an helper pair instead of abuse the global map
commitaa7192d0078ed0d18aa842611832c08fa1ae810d
authorNicola Fontana <ntd@entidi.it>
Wed, 9 Mar 2011 23:39:59 +0000 (10 00:39 +0100)
committerNicola Fontana <ntd@entidi.it>
Wed, 9 Mar 2011 23:39:59 +0000 (10 00:39 +0100)
tree8bf1667714c6106a434b36f90854c0cee8161e95
parent9e7237040c492363b26acf23065ea806724a0d7f
[AdgAlignment] Use an helper pair instead of abuse the global map

Instead of modify the global map to align the child entities, use the
"displacement" helper pair to be used while rendering the entity. This
makes possible to avoid the double arrange() calls.

The alignment is now invalidated when the "factor" property changes.
src/adg/adg-alignment-private.h
src/adg/adg-alignment.c