[AdgDimStyle] Implemented marker customization
commit4d32bdf09988058c7785bb9453c268eaf28f1944
authorNicola Fontana <ntd@entidi.it>
Tue, 15 Sep 2009 13:25:42 +0000 (15 15:25 +0200)
committerNicola Fontana <ntd@entidi.it>
Tue, 15 Sep 2009 13:25:42 +0000 (15 15:25 +0200)
tree9498644be669090d1c27ce50304077d5e0d89b06
parentf11311a1dd4813c93f5fa856c891b522c25658eb
[AdgDimStyle] Implemented marker customization

Added a powerful way to customize markers for dim-styles by using
template entities. The style provides two different markers: the fact
that "marker1" is the starting and "marker2" is the ending one is a
mere convention.

When adg_dim_style_use_marker[12]() API is called, the property
values of the passed-in marker is done and hold internally. Whenever a
new marker is requested (throught adg_dim_style_marker[12]_new()),
a new object is created and initialized with these properties.
adg/adg-dim-style-private.h
adg/adg-dim-style.c
adg/adg-dim-style.h