insightdock::charts::ImageBuffer::fill_sector

Filled pie slice (sector).

Synopsis

Declared in <insightdock/image_buffer.h>
void
fill_sector(
    float cx,
    float cy,
    float radius,
    double start_rad,
    double end_rad,
    Color const& color);

Parameters

Name Description
start_rad Start angle in radians (math convention, y-down adjusted internally).
end_rad End angle in radians.
color RGBA color with 8-bit per channel.

Created with MrDocs