Commit f664ee1b authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

for legacy drawing commands like [filledpolygon], don't scale the stroke (this...

for legacy drawing commands like [filledpolygon], don't scale the stroke (this is how it worked in Pd Vanilla)
parent 73c50198
......@@ -4979,6 +4979,12 @@ static void curve_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
gui_s("fill");
gui_s("none");
}
/* We add an attribute to keep the stroke from scaling, to keep
backwards compatibility with Pd Vanilla for curve. For the
newer [draw] objects we stick with the svg spec (and should
probably add a method for this attribute...) */
gui_s("vector-effect");
gui_s("non-scaling-stroke");
gui_end_array();
// Tags Array
......
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