mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added different rendering strategies for fill modes
This commit is contained in:
1 parent
3adc39c488
commit
128a656f4b
7 files changed
+1318
-47
No files matched your search
@@ -68,9 +68,10 @@ namespace Artemis.Plugins.LayerBrushes.Color
|
||||
return new ColorBrushViewModel(this);
|
||||
}
|
||||
|
||||
public override void Render(SKCanvas canvas)
|
||||
public override void Render(SKCanvas canvas, SKPath path, SKPaint paint)
|
||||
{
|
||||
canvas.DrawPath(Layer.LayerShape.Path, _paint);
|
||||
paint.Shader = _shader;
|
||||
canvas.DrawPath(path, paint);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user