You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, internally we use a special value of 0.0 of the stroke width to indicate fill. I agree with @dfrg that the easiest thing is to encode nothing. Alternatively, we could switch to using a value of -1.0 (which I believe we did in the past), and have the predicate in the shaders that that the value is negative.
I've made tests and i found out that every Style(source code just in case) that had a line_width of 0.0 gets automatically rendered as a fill no matter what flags in flags_and_miter_limit has.
Maybe this is a dumb/not a good idea, but perhaps there could've be a flag for Style that explicitly sets if its a fill or a stroke?
This
renders as
The text was updated successfully, but these errors were encountered: