mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
RGB.NET - Updated for latest development branch
This commit is contained in:
1 parent
606c1b80f2
commit
7792b662e0
8 files changed
+23
-12
No files matched your search
@@ -134,19 +134,19 @@ namespace Artemis.UI.Screens.ProfileEditor.Visualization
|
||||
|
||||
private Geometry CreateRectangleGeometry(ArtemisLed led)
|
||||
{
|
||||
Rect rect = led.RgbLed.AbsoluteLedRectangle.ToWindowsRect(1);
|
||||
Rect rect = led.RgbLed.AbsoluteBoundary.ToWindowsRect(1);
|
||||
return new RectangleGeometry(rect);
|
||||
}
|
||||
|
||||
private Geometry CreateCircleGeometry(ArtemisLed led)
|
||||
{
|
||||
Rect rect = led.RgbLed.AbsoluteLedRectangle.ToWindowsRect(1);
|
||||
Rect rect = led.RgbLed.AbsoluteBoundary.ToWindowsRect(1);
|
||||
return new EllipseGeometry(rect);
|
||||
}
|
||||
|
||||
private Geometry CreateCustomGeometry(ArtemisLed led, double deflateAmount)
|
||||
{
|
||||
Rect rect = led.RgbLed.AbsoluteLedRectangle.ToWindowsRect(1);
|
||||
Rect rect = led.RgbLed.AbsoluteBoundary.ToWindowsRect(1);
|
||||
try
|
||||
{
|
||||
PathGeometry geometry = Geometry.Combine(
|
||||
|
||||
Reference in new issue
Block a user