Properties  Methods 


RenderContextBase Class Members

The following tables list the members exposed by RenderContextBase.

Protected Constructors
 NameDescription
Protected Constructor  
Top
Public Properties
 NameDescription
Public PropertyGets a collection of RenderOperationLayer layers, which allow rendering operations to be posted to a layered queue for later execution in order (and correct Z-ordering).  
Public Property Gets the size of the current viewport for this render operation  
Top
Protected Properties
 NameDescription
Protected Property  
Top
Public Methods
 NameDescription
Public Method  
Public MethodBegins a Polyline segment, returning the IPathDrawingContext. This is the fastest way to draw lines and simply a proxy to DrawLines method.  
Public MethodBegins a filled Polygon segment, returning the IPathDrawingContext. This is the fastest way to draw polygon and simply a proxy to FillArea method.  
Public MethodBegins a Sprite Batch, returning the IPathDrawingContext. This is the fastest way to draw sprites and simply a proxy to %DrawSprites(ISprite2D, Rect, IEnumerable<Point>)% method.  
Public MethodClears the IRenderSurface2D  
Public MethodOverloaded. Creates a IBrush2D valid for the current render pass. Use this to draw rectangles, polygons and shaded areas  
Public MethodCreates a IPen2D valid for the current render pass. Use this to draw outlines, quads and lines  
Public MethodOverloaded. Creates a Sprite from FrameworkElement by rendering to bitmap. This may be used in the DrawSprite method to draw to the screen repeatedly  
Public Method  
Public Method Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
Public 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  
Public MethodDraws an Ellipse on the IRenderSurface2D using the specified outline Pen and fill Brush  
Public Method Draws 0..N Ellipses at the points passed in with the same width, height, pen and brush  
Public Method  
Public MethodDraws a single line on the IRenderSurface2D using the specified IPen2D. Note for a faster implementation in some rasterizers, use DrawLines  
Public MethodDraws a multi-point line on the IRenderSurface2D using the specified IPen2D  
Public MethodOverloaded.  Draws vertical scan line for heatmap from bottom to top, from yStart to yEnd  
Public MethodDraws a Quad on the IRenderSurface2D using the specified IPen2D  
Public MethodBlits the source image onto the IRenderSurface2D  
Public MethodOverloaded. Batch draw of the source sprite onto the IRenderSurface2D  
Public MethodOverloaded.  Draws text if it does not go outside  
Public Method  
Public MethodFills an area, limited by two line segments, e.g. as in a stacked mountain chart, using the specified IBrush2D  
Public MethodFills a polygon on the IRenderSurface2D using the specifie IBrush2D  
Public MethodOverloaded. Fills a rectangle on the IRenderSurface2D using the specified IBrush2D  
Public Method  
Public Method Measures text  
Public Method enables/disables primitves chaching optimization ( Direct3D renderer only )  
Top
Protected Methods
 NameDescription
Protected MethodOverloaded.  Used internally to clip a polygon or line-segment to the viewport  
Protected MethodOverloaded.   
Protected Method Used internally: Clips the zero line (e.g. in mountain fills) to the viewport  
Protected Method Returns true if the point is inside the viewport  
Top
Extension Methods
 NameDescription
Public Extension Method Notifies that finalizer has been invoked
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
Public Extension MethodOverloaded. Converts an System.IComparable array to double array
Public Extension MethodYields a single item, converting it to System.Collections.IEnumerable.
Public Extension Method
Top
See Also