Improve SVG rendering for markers to avoid to cut the symbol - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/agg-parse-trans.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2011年12月19日 09:29:32 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2011年12月19日 09:29:32 +0100
commit10e0c81563681a0b5db86796d3fdbbf5925ff1cd (patch)
tree9a9f51da047e0e81244c0cc82608788673cb7b88 /agg-plot/agg-parse-trans.cpp
parent1f073c45dc94bbd0a8df7ab8540bb0fe2fecfd6e (diff)
downloadgsl-shell-10e0c81563681a0b5db86796d3fdbbf5925ff1cd.tar.gz
Improve SVG rendering for markers to avoid to cut the symbol
Diffstat (limited to 'agg-plot/agg-parse-trans.cpp')
-rw-r--r--agg-plot/agg-parse-trans.cpp 2
1 files changed, 2 insertions, 0 deletions
diff --git a/agg-plot/agg-parse-trans.cpp b/agg-plot/agg-parse-trans.cpp
index bad9e8ce..051b4672 100644
--- a/agg-plot/agg-parse-trans.cpp
+++ b/agg-plot/agg-parse-trans.cpp
@@ -123,6 +123,8 @@ sg_object* build_marker (lua_State *L, int specindex, sg_object* src)
if (outline)
{
trans::stroke* stroke = new trans::stroke(sym);
+ stroke->self().line_cap(agg::round_cap);
+ stroke->self().line_join(agg::round_join);
sym = stroke;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 18:26:03 +0000

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