Properties  Methods 

IDirectXRenderContext Interface Members

The following tables list the members exposed by IDirectXRenderContext.

Public Properties
 NameDescription
 PropertyGets a collection of SciChart.Drawing.Common.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)
 Property Gets the current size of the viewport. (Inherited from SciChart.Drawing.Common.IRenderContext2D)
Top
Public Methods
 NameDescription
 MethodGets SciChart.Drawing.Common.IExtremeRenderContext2D from this render context (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodBegins a Polyline segment, returning the SciChart.Drawing.Common.IPathDrawingContext. This is the fastest way to draw lines and simply a proxy to DrawLines method. (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodBegins a filled Polygon segment, returning the SciChart.Drawing.Common.IPathDrawingContext. This is the fastest way to draw polygon and simply a proxy to FillArea method. (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method BeginScene, must be called at the start of every frame  
 MethodBegins a Sprite Batch, returning the SciChart.Drawing.Common.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)
 MethodClears the SciChart.Drawing.Common.IRenderSurface2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodCreates a SciChart.Drawing.Common.IBrush2D valid for the current render pass. Use this to draw rectangles, polygons and shaded areas (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodCreates a SciChart.Drawing.Common.IPen2D valid for the current render pass. Use this to draw outlines, quads and lines (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodCreates 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)
 MethodCreates 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)
 MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable)
 MethodCall 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)
 MethodDraws an Ellipse on the SciChart.Drawing.Common.IRenderSurface2D using the specified outline Pen and fill Brush (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method Draws 0..N Ellipses at the points passed in with the same width, height, pen and brush (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method Draws contours for a height texture the texture. (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodDraws a single line on the SciChart.Drawing.Common.IRenderSurface2D using the specified SciChart.Drawing.Common.IPen2D. Note for a faster implementation in some rasterizers, use DrawLines passing in an IEnumerable (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodDraws a multi-point line on the SciChart.Drawing.Common.IRenderSurface2D using the specified SciChart.Drawing.Common.IPen2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method Draws vertical scan line for heatmap from bottom to top, from yStart to yEnd (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodDraws a Quad on the SciChart.Drawing.Common.IRenderSurface2D using the specified SciChart.Drawing.Common.IPen2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodBlits the source image onto the SciChart.Drawing.Common.IRenderSurface2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodBatch draw of the source sprite onto the SciChart.Drawing.Common.IRenderSurface2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method Draws text at the specified position (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodDraws the SciChart.Drawing.Common.ITexture2D to the specified viewport rect (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method EndScene, called at the end of every frame  
 MethodFills an area defined the the Points and Heights, e.g. as in a mountain chart, using the specifie SciChart.Drawing.Common.IBrush2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodFills a polygon on the SciChart.Drawing.Common.IRenderSurface2D using the specifie SciChart.Drawing.Common.IBrush2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodFills a rectangle on the SciChart.Drawing.Common.IRenderSurface2D using the specified SciChart.Drawing.Common.IBrush2D (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 MethodDetermines whether the primitive type T is compatible with this SciChart.Drawing.Common.IRenderContext2D instance (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method Measures text (Inherited from SciChart.Drawing.Common.IRenderContext2D)
 Method Render a series of triangles that enclose points by heights sent, and filled with the colors sent  
 Method Render gamma series, with calculated point on the other side of the gamma curve  
 Method Enables or disables primitves caching optimization (Direct3D renderer only) (Inherited from SciChart.Drawing.Common.IRenderContext2D)
Top
Extension Methods
 NameDescription
Public Extension MethodTakes 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
Public Extension Method Checks for null and if not null, calls Dispose
Top
See Also