aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-02 23:30:34 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-02 23:30:34 +0200
commit0dcd742a3c35527386a93e1b1ef761c2aeff8308 (patch)
treed5adb3fee35e73af95fa5d68b5316d25522471de /Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs
parent1a7fb274158f8a0e279aef26206a65fefac8c4c3 (diff)
downloadTango-0dcd742a3c35527386a93e1b1ef761c2aeff8308.tar.gz
Tango-0dcd742a3c35527386a93e1b1ef761c2aeff8308.zip
Implemented Tango.RemoteDesktop.
Implemented png 8 bit quantization. Implemented RasterFrame bounds clipping. Refactored VectorFrame to use indexed colors.
Diffstat (limited to 'Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs')
-rw-r--r--Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs b/Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs
new file mode 100644
index 000000000..66a2f8660
--- /dev/null
+++ b/Software/Visual_Studio/Tango.RemoteDesktop/BitmapComparerResult.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.RemoteDesktop
+{
+ /// <summary>
+ /// Represents an <see cref="IBitmapComparer{TFrame}.CreateDifference(System.Drawing.Bitmap, System.Drawing.Bitmap)"/> result.
+ /// </summary>
+ /// <typeparam name="TFrame">The type of the frame.</typeparam>
+ public class BitmapComparerResult<TFrame> where TFrame : IFrame
+ {
+ /// <summary>
+ /// Gets or sets the difference frame.
+ /// </summary>
+ public TFrame Frame { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether the <see cref="Frame"/> contains any differences.
+ /// </summary>
+ public bool ContainsDifference { get; set; }
+ }
+}