[AdgStyle] Added entity argument to adg_style_apply()
commit8e052d738ddb8ee3a7377d17834cd52792864817
authorNicola Fontana <ntd@entidi.it>
Sun, 11 Oct 2009 17:05:38 +0000 (11 19:05 +0200)
committerNicola Fontana <ntd@entidi.it>
Sun, 11 Oct 2009 17:05:38 +0000 (11 19:05 +0200)
tree04e1bb58df229d6ce3ad98a14b9eeef288abc0b8
parent4b8311132e17f05e938a5cc8d1ef0a8f30943e0c
[AdgStyle] Added entity argument to adg_style_apply()

To let the styles embed dresses it is needed to pass the AdgEntity
caller to the apply() method, so the style can resolve its internal
dresses to styles and recursively call the apply() method on them.
13 files changed:
adg/adg-color-style.c
adg/adg-dim-style.c
adg/adg-dress.h
adg/adg-entity.c
adg/adg-entity.h
adg/adg-fill-style.c
adg/adg-font-style.c
adg/adg-hatch.c
adg/adg-line-style.c
adg/adg-ruled-fill.c
adg/adg-stroke.c
adg/adg-style.c
adg/adg-style.h