DrawSpritesBatch Method (IVxRenderContext)
Draws sprites defined by the ISprite2D from an SciChart.Charting2D.Interop.XySpriteVertex array as a single batched call.
Syntax
void DrawSpritesBatch( XySpriteVertex[] points, int count, ISprite2D sprite, ISprite2D strokeSprite, SCRTVertexTransform vertexTransform, float centeredAmount )
Parameters
- points
- The SciChart.Charting2D.Interop.XyColorVertex array containing data to draw.
- count
- The number of points to draw.
- sprite
- The sprite to draw at each point
- strokeSprite
- The sprite to draw stroke at each point
- vertexTransform
- The optional per-vertex transform to apply to each point during rendering. Null means identity matrix.
- centeredAmount
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also