adg: added dash patterns to line stroking
commitcd14f4e175c9cc81a428bbac945e609b27493923
authorNicola Fontana <ntd@entidi.it>
Tue, 12 Feb 2013 19:49:28 +0000 (12 20:49 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 12 Feb 2013 19:49:28 +0000 (12 20:49 +0100)
treecd42cf141832db6f8586d7e67e9195c78749b611
parent9b6a9b85f29bc254392f97d8815a95cb6a6e8e49
adg: added dash patterns to line stroking

Wrapped data needed for dashing lines in a GBoxed struct (AdgDash) and
provided necessary changes to AdgLineStyle. Some new builtins dresses
are now available, most notably ADG_DRESS_LINE_AXIS and
ADG_DRESS_LINE_HIDDEN.

Closes issue #51: http://dev.entidi.com/p/adg/issues/51/
19 files changed:
demo/adg-demo.c
docs/adg/Makefile.am
docs/adg/adg-docs.xml
src/adg.h.in
src/adg/Makefile.am
src/adg/adg-dash-private.h [copied from src/adg/adg-line-style-private.h with 63% similarity]
src/adg/adg-dash.c [new file with mode: 0644]
src/adg/adg-dash.h [new file with mode: 0644]
src/adg/adg-dim-style.c
src/adg/adg-dress-builtins.c
src/adg/adg-dress-builtins.h
src/adg/adg-line-style-private.h
src/adg/adg-line-style.c
src/adg/adg-line-style.h
src/adg/adg-stroke.c
src/adg/tests/.gitignore
src/adg/tests/Makefile.am
src/adg/tests/test-dash.c [new file with mode: 0644]
src/adg/tests/test-line-style.c