From 2ce6afb909f34af7d78c20cfeb9f2d8311e91336 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Fri, 3 Oct 2025 01:55:11 +0300 Subject: Changed RealTimeGraphX to .NET 4.6.1 --- .../RealTimeGraphX/GraphTransform.cs | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs') diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs b/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs new file mode 100644 index 000000000..efcf4b052 --- /dev/null +++ b/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs @@ -0,0 +1,39 @@ +namespace RealTimeGraphX +{ + /// + /// Represents a graph transformation. + /// + public class GraphTransform + { + /// + /// Gets or sets the horizontal scale factor. + /// + public float ScaleX { get; set; } + + /// + /// Gets or sets the vertical scale factor. + /// + public float ScaleY { get; set; } + + /// + /// Gets or sets the horizontal translate transformation. + /// + public float TranslateX { get; set; } + + /// + /// Gets or sets the vertical translate transformation. + /// + public float TranslateY { get; set; } + + /// + /// Initializes a new instance of the class. + /// + public GraphTransform() + { + ScaleX = 1; + ScaleY = 1; + TranslateX = 0; + TranslateY = 0; + } + } +} -- cgit v1.3.1