blob: 3ec06b9f0b0fefa20421acd01ab0cf56a9893a2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using System;
using Avalonia.Markup.Xaml;
using Emgu.CV;
using UVtools.Core.Extensions;
using UVtools.Core.Operations;
using UVtools.WPF.Extensions;
namespace UVtools.WPF.Controls.Tools
{
public class ToolPixelDimmingControl : ToolControl
{
public OperationPixelDimming Operation => BaseOperation as OperationPixelDimming;
public ToolPixelDimmingControl()
{
InitializeComponent();
BaseOperation = new OperationPixelDimming();
Operation.GeneratePixelDimming("Chessboard");
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}
|