Expands a polyline into a staircase according to mode (pixel space).
<insightdock/detail/step.h>
std::vector<std::pair<float, float>>
expand_steps(
std::vector<std::pair<float, float>> const& pts,
StepMode mode);
| Name | Description |
|---|---|
| pts | A standard container which offers fixed time access to individual elements in any order. |
| mode | Staircase interpolation between points (line and area charts). |