diff options
| author | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-10-03 01:55:11 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-10-03 01:55:11 +0300 |
| commit | 2ce6afb909f34af7d78c20cfeb9f2d8311e91336 (patch) | |
| tree | 5a679973db7ee6446df1cde1690634b422ade35c /Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs | |
| parent | 9c858b7b51be2eb5b2f515912d436224d7e6483c (diff) | |
| download | Tango-2ce6afb909f34af7d78c20cfeb9f2d8311e91336.tar.gz Tango-2ce6afb909f34af7d78c20cfeb9f2d8311e91336.zip | |
Changed RealTimeGraphX to .NET 4.6.1
Diffstat (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs')
| -rw-r--r-- | Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/GraphTransform.cs | 39 |
1 files changed, 39 insertions, 0 deletions
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 +{ + /// <summary> + /// Represents a graph transformation. + /// </summary> + public class GraphTransform + { + /// <summary> + /// Gets or sets the horizontal scale factor. + /// </summary> + public float ScaleX { get; set; } + + /// <summary> + /// Gets or sets the vertical scale factor. + /// </summary> + public float ScaleY { get; set; } + + /// <summary> + /// Gets or sets the horizontal translate transformation. + /// </summary> + public float TranslateX { get; set; } + + /// <summary> + /// Gets or sets the vertical translate transformation. + /// </summary> + public float TranslateY { get; set; } + + /// <summary> + /// Initializes a new instance of the <see cref="GraphTransform"/> class. + /// </summary> + public GraphTransform() + { + ScaleX = 1; + ScaleY = 1; + TranslateX = 0; + TranslateY = 0; + } + } +} |
