Commit 36e4ba04 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #382: trace lines in garray aren't always crisp

parent f7ff410e
......@@ -6147,8 +6147,9 @@ static void plot_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
gui_s(symoutline->s_name);
gui_s("stroke-width");
gui_f(style == PLOTSTYLE_POINTS ? 0 :
y_inverse * (y_inverse >= 0 ? 1 : -1));
gui_f(style == PLOTSTYLE_POINTS ? 0 : 1);
gui_s("vector-effect");
gui_s("non-scaling-stroke");
gui_end_array();
/* tags */
......@@ -6260,7 +6261,9 @@ static void plot_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
gui_start_array();
gui_s("stroke-width");
gui_f(y_inverse * (y_inverse >= 0 ? 1 : -1));
gui_f(1);
gui_s("vector-effect");
gui_s("non-scaling-stroke");
gui_s("stroke");
gui_s(symoutline->s_name);
gui_s("fill");
......@@ -6339,7 +6342,9 @@ static void plot_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
gui_start_array();
gui_s("stroke-width");
gui_f(linewidth * (y_inverse * (y_inverse >= 0 ? 1 : -1)));
gui_f(linewidth);
gui_s("vector-effect");
gui_s("non-scaling-stroke");
gui_s("stroke");
gui_s(symoutline->s_name);
gui_s("fill");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment