View.line_width limited to 10px?
-
It appears that trying to set View.line_width to a value higher than 10px yields no result in the line's rendered size. Anything over 10px appear to be capped to 10px.
Anyone confirm?
(why on earth would this be a hard limit?)
-
Mitering.
Its pretty fiddly to handle all edge cases so I can understand the SU guys just skipping it because it starts to step outside the bounds of what the View.draw API is about.
For more info on line mitering in a PostScript sense, see here
-
Yea - I noticed that drawing lines doesn't miter - but I'd rather that the line width wasn't limited. Using a thick linewidth was a quick and easy way to draw squares by only using two points. To workaround this one has to create all the points which then requires more calculations in Ruby which makes things slow.
Advertisement