-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Question:
In polygon rendering, rp.Canvas.DrawPath(path, paint); and Drawing.DrawLines(rp.Canvas, paint, pixels, LineStyle) seem to do the same thing. Is it OK to remove one of them?
ScottPlot Version: 5.0.37
if (LineStyle is { IsVisible: true, Width: > 0 })
{
paint.Style = SKPaintStyle.Stroke;
LineStyle.ApplyToPaint(paint);
rp.Canvas.DrawPath(path, paint);
Drawing.DrawLines(rp.Canvas, paint, pixels, LineStyle);
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels