We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
noStroke
1 parent 51e3482 commit fe0c501Copy full SHA for fe0c501
source/chitra/elements/core.d
@@ -11,7 +11,7 @@ void drawShapeProperties(cairo_t* cairoCtx, ShapeProperties shapeProps)
11
cairo_set_source_rgba(cairoCtx, shapeProps.fill.toRGBAf.r,
12
shapeProps.fill.toRGBAf.g, shapeProps.fill.toRGBAf.b, shapeProps.fill.toRGBAf.a);
13
14
- if (shapeProps.strokeWidth > 0)
+ if (shapeProps.strokeWidth > 0 && !shapeProps.noStroke)
15
{
16
cairo_fill_preserve(cairoCtx);
17
cairo_set_line_width(cairoCtx, shapeProps.strokeWidth);
0 commit comments