Core - Render each profile element in its own bitmap

Layer effects - Removed now redundant CreateShapeClip
This commit is contained in:
SpoinkyNL committed 2020-06-18 17:04:15 +02:00
1 parent df7b75a7a1
commit 18c1b533b9
13 files changed
+126 -207

No files matched your search

@@ -24,11 +24,6 @@ namespace Artemis.Core.Plugins.LayerBrush.Abstract
internal override void InternalRender(SKCanvas canvas, SKImageInfo canvasInfo, SKPath path, SKPaint paint)
{
// Move the canvas to the top-left of the render path
canvas.Translate(path.Bounds.Left, path.Bounds.Top);
// Pass the render path to the layer brush positioned at 0,0
path.Transform(SKMatrix.MakeTranslation(path.Bounds.Left * -1, path.Bounds.Top * -1));
Render(canvas, canvasInfo, path, paint);
}