25 public void DrawGraph(SKCanvas Canvas, SKPoint[] Points,
object[] Parameters, SKPoint[] PrevPoints,
object[] PrevParameters,
35 Style = SKPaintStyle.Fill,
58 PrevPoints[0].X = Points[0].X;
59 PrevPoints[1].X = Points[Points.Length - 1].X;
62 PrevPoints = (SKPoint[])PrevPoints.Clone();
63 Array.Reverse(PrevPoints);
66 Path.LineTo(Points[0]);
68 Canvas.DrawPath(Path, Brush);
Base class for all types of groups.
abstract IGroupElement AdditiveIdentity
Returns the additive identity of the group.
Base class for all types of sets.
Contains information about the current drawing area.
SKPoint[] Scale(IVector VectorX, IVector VectorY)
Scales two vectors of equal size to points in a rectangular area.
IElement MinX
Smallest value of X.
IElement MaxX
Largest value of X.
IElement MinY
Smallest value of Y.
Plots a two-dimensional curve.
static SKPath CreateSpline(params SKPoint[] Points)
Creates a Spline path through a given set of points.
Plots a two-dimensional layered area chart, based on a spline instead of a poly-line....
void DrawGraph(SKCanvas Canvas, SKPoint[] Points, object[] Parameters, SKPoint[] PrevPoints, object[] PrevParameters, DrawingArea DrawingArea)
Draws the graph on a canvas.
Painters for single-color graphs
static SKColor ToColor(object Object)
Converts an object to a color.
static IElement Encapsulate(Array Elements, bool CanEncapsulateAsMatrix, ScriptNode Node)
Encapsulates the elements of a vector.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
ISet AssociatedSet
Associated Set.
Basic interface for vectors.
Basic interface for all types of groups.
Basic interface for all types of sets.
Interface for 2D graph drawing functions.