HqRenderContext

StockSharp.Xaml.Charting.Rendering.HighQualityRasterizer

Inherits: RenderContextBase

Methods

BeginLine
public sealed override IPathDrawingContext BeginLine(IPen2D pen, double startX, double startY)
result = hqRenderContext.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 = hqRenderContext.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

Returns: The IPathDrawingContext to continue the polygon

Dispose
public override void Dispose()
hqRenderContext.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.