RenderContextBase Class Members
The following tables list the members exposed by RenderContextBase.
Protected Constructors
Name | Description | |
---|---|---|
![]() | RenderContextBase Constructor |
Public Properties
Name | Description | |
---|---|---|
![]() | Layers | Gets 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). |
![]() | ViewportSize | Gets the size of the current viewport for this render operation |
Public Methods
Name | Description | |
---|---|---|
![]() | AsExtremeRenderContext | |
![]() | BeginLine | Begins a Polyline segment, returning the IPathDrawingContext. This is the fastest way to draw lines and simply a proxy to DrawLines method. |
![]() | BeginPolygon | Begins a filled Polygon segment, returning the IPathDrawingContext. This is the fastest way to draw polygon and simply a proxy to FillArea method. |
![]() | BeginSpriteBatch | Begins 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. |
![]() | Clear | Clears the IRenderSurface2D |
![]() | CreateBrush | Overloaded. Creates a IBrush2D valid for the current render pass. Use this to draw rectangles, polygons and shaded areas |
![]() | CreatePen | Creates a IPen2D valid for the current render pass. Use this to draw outlines, quads and lines |
![]() | CreateSprite | Overloaded. Creates a Sprite from FrameworkElement by rendering to bitmap. This may be used in the DrawSprite method to draw to the screen repeatedly |
![]() | CreateTexture | |
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | 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 |
![]() | DrawEllipse | Draws an Ellipse on the IRenderSurface2D using the specified outline Pen and fill Brush |
![]() | DrawEllipses | Draws 0..N Ellipses at the points passed in with the same width, height, pen and brush |
![]() | DrawHeightTextureContours | |
![]() | DrawLine | Draws a single line on the IRenderSurface2D using the specified IPen2D. Note for a faster implementation in some rasterizers, use DrawLines |
![]() | DrawLines | Draws a multi-point line on the IRenderSurface2D using the specified IPen2D |
![]() | DrawPixelsVertically | Overloaded. Draws vertical scan line for heatmap from bottom to top, from yStart to yEnd |
![]() | DrawQuad | Draws a Quad on the IRenderSurface2D using the specified IPen2D |
![]() | DrawSprite | Blits the source image onto the IRenderSurface2D |
![]() | DrawSprites | Overloaded. Batch draw of the source sprite onto the IRenderSurface2D |
![]() | DrawText | Overloaded. Draws text at the position of the point |
![]() | DrawTexture | |
![]() | FillArea | Fills an area, limited by two line segments, e.g. as in a stacked mountain chart, using the specified IBrush2D |
![]() | FillPolygon | Fills a polygon on the IRenderSurface2D using the specifie IBrush2D |
![]() | FillRectangle | Overloaded. Fills a rectangle on the IRenderSurface2D using the specified IBrush2D |
![]() | IsCompatibleType<T> | |
![]() | MeasureText | Measures text |
![]() | SetPrimitivesCachingEnabled | enables/disables primitves chaching optimization ( Direct3D renderer only ) |
Protected Methods
Name | Description | |
---|---|---|
![]() | ClipArea | Overloaded. Used internally to clip a polygon or line-segment to the viewport |
![]() | ClipRectangle | Overloaded. |
![]() | ClipZeroLineForArea | Used internally: Clips the zero line (e.g. in mountain fills) to the viewport |
![]() | IsInBounds | Returns true if the point is inside the viewport |
Extension Methods
Name | Description | |
---|---|---|
![]() | DebugFinalizer<T> | Notifies that finalizer has been invoked |
![]() | 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 |
![]() | ToDoubleArray | Overloaded. Converts an System.IComparable array to double array |
![]() | ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. |
![]() | ToStringArray2D<T> |
See Also