Add support to use the SVG marker tag when using markers - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/draw_svg.h
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2011年12月09日 11:00:18 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2011年12月09日 11:00:18 +0100
commit9f7c2f2bd40119e419d5f6255a8fef4399234bf4 (patch)
tree29472b046392ff47889ffa2109e5a552a242311b /agg-plot/draw_svg.h
parentf7e050bfcef1fc0b2877bca6ef1f6649b2b3d8ae (diff)
downloadgsl-shell-9f7c2f2bd40119e419d5f6255a8fef4399234bf4.tar.gz
Add support to use the SVG marker tag when using markers
Diffstat (limited to 'agg-plot/draw_svg.h')
-rw-r--r--agg-plot/draw_svg.h 4
1 files changed, 4 insertions, 0 deletions
diff --git a/agg-plot/draw_svg.h b/agg-plot/draw_svg.h
index b5fe7889..f7341a67 100644
--- a/agg-plot/draw_svg.h
+++ b/agg-plot/draw_svg.h
@@ -8,6 +8,9 @@
enum svg_path_property_e {
stroke_dasharray = 0,
+ marker_start,
+ marker_mid,
+ marker_end,
};
extern const char *svg_path_property_name[];
@@ -90,6 +93,7 @@ void svg_curve_coords_from_vs(VertexSource* vs, str& s)
extern str svg_stroke_path(str& path_coords, double width, int id, agg::rgba8 c, svg_property_list* properties = 0);
extern str svg_fill_path(str& path_coords, int id, agg::rgba8 c, svg_property_list* properties = 0);
+extern str svg_marker_path(str& path_coords, double sw, int id, svg_property_list* properties);
extern void format_rgb(char rgbstr[], agg::rgba8 c);
#endif
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月28日 14:30:22 +0000

AltStyle によって変換されたページ (->オリジナル) /