[AdgEntity] Removed adg_entity_ctm()
commit7cce6f198318ad5b7d278412b6ead03bf51f3cd1
authorNicola Fontana <ntd@entidi.it>
Sat, 9 Jan 2010 10:35:08 +0000 (9 11:35 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 9 Jan 2010 10:35:08 +0000 (9 11:35 +0100)
tree69e0c781d4b1264b98e846319aa5a376a39d1a03
parentcc062da5df1cdd762d71000a70a331d5989eac44
[AdgEntity] Removed adg_entity_ctm()

Getting rid of the ctm matrix from the cache as it is easy to get it by
combining the global and local matrix:

adg_matrix_copy(&ctm, global)
adg_matrix_transform(&ctm, local, ADG_TRANSFORM_BEFORE);

Furthermore, applying the ctm on a canvas with the global matrix
currently active (common inside the render callback) is trivial:

cairo_transform(cr, adg_entity_get_local_matrix(entity));
adg/adg-arrow.c
adg/adg-entity-private.h
adg/adg-entity.c
adg/adg-entity.h
adg/adg-hatch.c
adg/adg-logo.c
adg/adg-projection.c
adg/adg-stroke.c
adg/adg-table.c
adg/adg-toy-text.c