mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Core - Flattened namespaces
Shared UI - Flattened namespaces Shared UI - General housekeeping Project - Code cleanup
This commit is contained in:
1 parent
aa06d8c43e
commit
29d4db55db
454 files changed
+1678
-1938
No files matched your search
@@ -1,20 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Core.Extensions;
|
||||
using Artemis.Core.Plugins.Settings;
|
||||
using RGB.NET.Core;
|
||||
using SkiaSharp;
|
||||
|
||||
namespace Artemis.Core.RGB.NET
|
||||
namespace Artemis.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// The RGB.NET brush Artemis uses to map the SkiaSharp bitmap to LEDs
|
||||
/// </summary>
|
||||
public class BitmapBrush : AbstractDecoratable<IBrushDecorator>, IBrush, IDisposable
|
||||
{
|
||||
private readonly object _disposeLock;
|
||||
private readonly PluginSetting<int> _sampleSizeSetting;
|
||||
private object _disposeLock;
|
||||
|
||||
#region Constructors
|
||||
|
||||
public BitmapBrush(Scale scale, PluginSetting<int> sampleSizeSetting)
|
||||
internal BitmapBrush(Scale scale, PluginSetting<int> sampleSizeSetting)
|
||||
{
|
||||
_sampleSizeSetting = sampleSizeSetting;
|
||||
Scale = scale;
|
||||
|
||||
Reference in new issue
Block a user