IVxRenderContext Interface Members
The following tables list the members exposed by IVxRenderContext.
Public Properties
Name | Description | |
---|---|---|
Layers | Gets a collection of RenderOperationLayers, which allow rendering operations to be posted to a layered queue for later execution in order (and correct Z-ordering). (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
ViewportSize | Gets the current size of the viewport. (Inherited from SciChart.Drawing.Common.IRenderContext2D) |
Public Methods
Name | Description | |
---|---|---|
AsExtremeRenderContext | Gets IExtremeRenderContext2D from this render context (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
BeginFrame | Required to be called before any drawing operations. It creates native drawing context that is used by all drawing operations. | |
BeginLine | Begins a Polyline segment, returning the IPathDrawingContext. This is the fastest way to draw lines and simply a proxy to DrawLines method. (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
BeginPolygon | Begins a filled Polygon segment, returning the IPathDrawingContext. This is the fastest way to draw polygon and simply a proxy to FillArea method. (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
BeginSpriteBatch | Begins a Sprite Batch, returning the IPathDrawingContext. This is the fastest way to draw sprites and simply a proxy to %RenderContextBase.DrawSprites(ISprite2D, Rect, IEnumerable<Point>)% method. (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
Clear | Clears the IRenderSurface2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
CreateBrush | Creates a IBrush2D valid for the current render pass. Use this to draw rectangles, polygons and shaded areas (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
CreatePen | Creates a IPen2D valid for the current render pass. Use this to draw outlines, quads and lines (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
CreateSprite | Creates a Sprite from FrameworkElement by rendering to bitmap. This may be used in the DrawSprite method to draw to the screen repeatedly (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
CreateTexture | Creates a Texture with the specified width, height and format. This texture may be modified, and drawn repeatedly using %DrawTexture(ITexture2D, Rect)% (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
CreateTexturedSprite | Overloaded. Creates a Sprite from FrameworkElement by rendering to bitmap. This may be used in the DrawSprite method | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable) | |
DisposeResourceAfterDraw | Call this method, passing in System.IDisposable instance to dispose after the render pass completes. Called internally by SciChart to lazy-dispose of Direct2D and Direct3D brushes and textures (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawBandsBatch | Draws two lines and a band polygon between the Y0 and Y1 points on each SciChart.Charting2D.Interop.XyyBandVertex, as a single batched call. | |
DrawCandlesBatch | Draws candlesticks from the SciChart.Charting2D.Interop.XohlcCandleVertex array, as a single batched draw call. | |
DrawColumnsBatch | Draws columns from the SciChart.Charting2D.Interop.XyColumnVertex array, as a single batched draw call. | |
DrawEllipse | Draws an Ellipse on the IRenderSurface2D using the specified outline Pen and fill Brush (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawEllipses | Draws 0..N Ellipses at the points passed in with the same width, height, pen and brush (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawHeightTextureContours | Draws contours for a height texture the texture. (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawLine | Draws a single line on the IRenderSurface2D using the specified IPen2D. Note for a faster implementation in some rasterizers, use DrawLines passing in an IEnumerable (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawLines | Draws a multi-point line on the IRenderSurface2D using the specified IPen2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawLinesBatch | Draws lines from SciChart.Charting2D.Interop.XyColorVertex array as a single batched call. | |
DrawMountainBatch | Draws a mountain or area between Y0 and Y1 in the SciChart.Charting2D.Interop.XyyBandVertex array, as a single batched draw call. | |
DrawOhlcBatch | Draws OHLC bars from the SciChart.Charting2D.Interop.XohlcCandleVertex array, as a single batched draw call. | |
DrawPixelsVertically | Draws vertical scan line for heatmap from bottom to top, from yStart to yEnd (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawQuad | Draws a Quad on the IRenderSurface2D using the specified IPen2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawRectsBatch | Draws rectangles from the SciChart.Charting2D.Interop.XyRectVertex array, as a single batched draw call. | |
DrawShapedHeatmap | Draws vertices from the SciChart.Charting2D.Interop.XyColorTextureVertex array as a single batched draw call and fills the shape using gradientTexture. | |
DrawSprite | Blits the source image onto the IRenderSurface2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawSprites | Batch draw of the source sprite onto the IRenderSurface2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawSpritesBatch | Draws sprites defined by the ISprite2D from an SciChart.Charting2D.Interop.XySpriteVertex array as a single batched call. | |
DrawText | Draws text at the specified position (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
DrawTexture | Draws vertices from the SciChart.Charting2D.Interop.XyColorTextureVertex array, as a single batched draw call. | |
FillArea | Fills an area defined the the Points and Heights, e.g. as in a mountain chart, using the specifie IBrush2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
FillPolygon | Fills a polygon on the IRenderSurface2D using the specifie IBrush2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
FillRectangle | Fills a rectangle on the IRenderSurface2D using the specified IBrush2D (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
GetHardwareLinesEnabled | ||
GetRenderContextSerialId | Gets a unique Id for Vx engine instance | |
IsCompatibleType<T> | Determines whether the primitive type T is compatible with this IRenderContext2D instance (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
MeasureText | Measures text (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
SetAxisDirections | ||
SetClipRect | Sets a viewport rectangle for all subsequent draw calls. | |
SetHardwareLinesEnabled | ||
SetPrimitivesCachingEnabled | Enables or disables primitves caching optimization (Direct3D renderer only) (Inherited from SciChart.Drawing.Common.IRenderContext2D) | |
UpdateBrush | Updates IBrush2D based on provided fillBrush and opacity. |
Extension Methods
Name | Description | |
---|---|---|
GetStyledPen | Takes a System.Windows.Shapes.Line with a System.Windows.Style applied, and returns a SciChart compatible SciChart.Drawing.Common.IPen2D which can be used with the SciChart.Drawing.Common.IRenderContext2D for drawing lines | |
SafeDispose | Checks for null and if not null, calls Dispose |
See Also