mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Core - Render each profile element in its own bitmap
Layer effects - Removed now redundant CreateShapeClip
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user