- Add RenderQuality enum to the Plugin API

- Add `RenderQuality` property to the `Plugin` class
- Set the render quality of the plugin image
This commit is contained in:
Stone-Red-Code
2021-09-16 19:20:07 +02:00
parent 0f6e8437fd
commit ef27ace78b
6 changed files with 119 additions and 3 deletions
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesktopMagicPluginAPI.Drawing
{
/// <summary>
/// Specifies which render quality is used to display the bitmap images.
/// </summary>
public enum RenderQuality
{
/// <summary>
/// Slower then <see cref="Low"/> but produces higher quality output.
/// </summary>
High,
/// <summary>
/// Faster then <see cref="High"/> but produces lower quality output.
/// </summary>
Low,
/// <summary>
/// Provides performance benefits over <see cref="Low"/>
/// </summary>
Performance
}
}