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
When executing both RenderContext::stroke and RenderContext::fill,
passing the same Shape, such as a BezPath results in multiple path elements in the output when using piet-svg output.
I wonder if this calls for a function that combines both stroke and fill operations, or perhaps some Renderable or Drawable trait which has both shape/geometry and stroke/fill/style information.
Maybe though I'm missing some way to achieve this already via the Brush API though I don't think so.
Here is some output which rather than one path with both fill="#304040" stroke="#000000", you get 2 paths.
When executing both
RenderContext::stroke
andRenderContext::fill
,passing the same
Shape
, such as aBezPath
results in multiplepath
elements in the output when using piet-svg output.I wonder if this calls for a function that combines both
stroke
andfill
operations, or perhaps someRenderable
orDrawable
trait which has both shape/geometry and stroke/fill/style information.Maybe though I'm missing some way to achieve this already via the
Brush
API though I don't think so.Here is some output which rather than one path with both
fill="#304040" stroke="#000000"
, you get 2 paths.The text was updated successfully, but these errors were encountered: