[AdgEntity] Added the arrange infrastructure
commit3efc79cd85ace9bcee88b57bd461448a83d10301
authorNicola Fontana <ntd@entidi.it>
Mon, 21 Sep 2009 08:05:45 +0000 (21 10:05 +0200)
committerNicola Fontana <ntd@entidi.it>
Mon, 21 Sep 2009 08:05:45 +0000 (21 10:05 +0200)
treef5aa25b1bbbd72d40c33e8e2650caf293e844c07
parent93e541734465819197cb261cf5a05f6ead23b558
[AdgEntity] Added the arrange infrastructure

The render() has been splitted in two different operations: arrange()
and render(). While the latter performs the usual rendering to a cairo
context, the former provides a way to arrange the layout of the entity
components without accessing the cairo context. This will be used for
the extents computation.

Implemented the "arrange" signal, provided its accessor and added the
adg_entity_get_extents() API (and the setter, to be used internally)
that update the entity emitting "arrange" just before computing the
extents.
adg/adg-entity-private.h
adg/adg-entity.c
adg/adg-entity.h