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/IGraphRenderer.cs | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/IGraphRenderer.cs (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/IGraphRenderer.cs') diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/IGraphRenderer.cs b/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/IGraphRenderer.cs new file mode 100644 index 000000000..fdd3b17e8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/IGraphRenderer.cs @@ -0,0 +1,41 @@ +using RealTimeGraphX.EventArguments; +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Text; + +namespace RealTimeGraphX +{ + /// + /// Represents a graph renderer capable of receiving a series of data points from a controller and transforming them to drawing points. + /// + /// The type of the data series. + /// + public interface IGraphRenderer : IGraphComponent where TDataSeries : IGraphDataSeries + { + /// + /// Arranges the series of data points and returns a series of drawing points. + /// + /// The target graph surface. + /// The instance of the current rendered data series. + /// Instance of graph range. + /// Collection of x coordinates. + /// Collection of y coordinates. + /// The minimum x coordinates value. + /// The maximum x coordinates value. + /// The minimum y coordinates value. + /// The maximum y coordinates value. + /// + IEnumerable Render(IGraphSurface surface, TDataSeries series, IGraphRange range, List xx, List yy, GraphDataPoint minimumX, GraphDataPoint maximumX, GraphDataPoint minimumY, GraphDataPoint maximumY); + + /// + /// Draws the specified data series points on the target surface. + /// + /// The target graph surface. + /// The instance of the current rendered data series. + /// The collection of the current data series drawing points. + /// The index of the current data series within the collection of data series. + /// The length of the data series collection. + void Draw(IGraphSurface surface, TDataSeries series, IEnumerable points, int index, int count); + } +} -- cgit v1.3.1