ScottPlot
|
This interface is applied to plottables which can be rendered directly on the GPU using an OpenGL shader. More...
Public Member Functions | |
void | GLFinish () |
Used to manually synchronize rendering. | |
void | StoreGLState () |
Store OpenGL atributes. | |
void | RestoreGLState () |
Restore previously saved OpenGL atributes. | |
![]() | |
AxisLimits | GetAxisLimits () |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable. | |
void | Render (RenderPack rp) |
Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable. | |
Properties | |
IPlotControl | PlotControl [get] |
The control used to display this plottable. It is used to access the GRContext at render time. | |
![]() | |
bool | IsVisible [get, set] |
Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method). | |
IAxes | Axes [get, set] |
This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time. | |
IEnumerable< LegendItem > | LegendItems [get] |
Items which will appear in the legend. | |
This interface is applied to plottables which can be rendered directly on the GPU using an OpenGL shader.
void ScottPlot.IPlottableGL.GLFinish | ( | ) |
Used to manually synchronize rendering.
Implemented in ScottPlot.Plottables.ScatterGL.
void ScottPlot.IPlottableGL.RestoreGLState | ( | ) |
Restore previously saved OpenGL atributes.
Implemented in ScottPlot.Plottables.ScatterGL.
void ScottPlot.IPlottableGL.StoreGLState | ( | ) |
Store OpenGL atributes.
Implemented in ScottPlot.Plottables.ScatterGL.
|
get |
The control used to display this plottable. It is used to access the GRContext at render time.
Implemented in ScottPlot.Plottables.ScatterGL.