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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement