mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Core - Render each profile element in its own bitmap
Layer effects - Removed now redundant CreateShapeClip
This commit is contained in:
1 parent
0903865c7d
commit
7a50249335
13 files changed
+126
-207
No files matched your search
@@ -11,7 +11,7 @@ namespace Artemis.Core.Models.Profile.LayerShapes
|
||||
public override void CalculateRenderProperties()
|
||||
{
|
||||
var path = new SKPath();
|
||||
path.AddOval(Layer.Bounds);
|
||||
path.AddOval(SKRect.Create(Layer.Bounds.Width, Layer.Bounds.Height));
|
||||
Path = path;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Artemis.Core.Models.Profile.LayerShapes
|
||||
public override void CalculateRenderProperties()
|
||||
{
|
||||
var path = new SKPath();
|
||||
path.AddRect(Layer.Bounds);
|
||||
path.AddRect(SKRect.Create(Layer.Bounds.Width, Layer.Bounds.Height));
|
||||
Path = path;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user