insightdock::charts::detail::draw_marker

Draws a single point marker of the given shape, centered at (x, y).

Synopsis

Declared in <insightdock/detail/marker.h>
[[visibility]]
void
draw_marker(
    DrawTarget& buffer,
    float x,
    float y,
    float radius,
    PointMarkerShape shape,
    Color const& color);

Parameters

Name Description
buffer Pixel-space drawing surface shared by all built-in charts.
shape Shape drawn at each data point marker (line/scatter/combo charts).
color RGBA color with 8-bit per channel.

Created with MrDocs