HighQualityRenderSurface
StockSharp.Xaml.Charting.Rendering.HighQualityRasterizer
Provides a RenderSurfaceBase implementation that uses a High-Quality software rasterizer, capable of rendering with sub-pixel accuracy. The downside is, the HighQualityRenderSurface uses a more accurate floating-point math rendering engine which is slower than the HighSpeedRenderSurface counterpart
Inherits: RenderSurfaceBase
Constructors
HighQualityRenderSurface
public HighQualityRenderSurface()
highQualityRenderSurface = HighQualityRenderSurface()
Initializes a new instance of the HighQualityRenderSurface class.
Methods
GetRenderContext
public override IRenderContext2D GetRenderContext()
result = highQualityRenderSurface.GetRenderContext()
When overridden in a derived class, returns a RenderContext valid for the current render pass
RecreateSurface
public override void RecreateSurface()
highQualityRenderSurface.RecreateSurface()
Recreates the WriteableBitmap used by the Viewport