HsRenderContext

StockSharp.Xaml.Charting.Rendering.HighSpeedRasterizer

Inherits: RenderContextBase

Methods

BeginLine
public sealed override IPathDrawingContext BeginLine(IPen2D pen, double startX, double startY)
result = hsRenderContext.BeginLine(pen, startX, startY)

Begins a Polyline segment, returning the IPathDrawingContext. This is the fastest way to draw lines and simply a proxy to DrawLines method.

pen
The pen for the line segment
startX
The start X coordinate (pixel coord)
startY
The start Y coordinate (pixel coord)

Returns: The IPathDrawingContext to continue the line

BeginPolygon
public sealed override IPathDrawingContext BeginPolygon(IBrush2D brush, double startX, double startY, double gradientRotationAngle)
result = hsRenderContext.BeginPolygon(brush, startX, startY, gradientRotationAngle)

Begins a filled Polygon segment, returning the IPathDrawingContext. This is the fastest way to draw polygon and simply a proxy to Double) method.

brush
The brush for the polygon fill
startX
The start X coordinate (pixel coord)
startY
The start Y coordinate (pixel coord)
gradientRotationAngle
The angle which the brush is rotated by

Returns: The IPathDrawingContext to continue the polygon