insightdock::charts::DrawTarget::fill_sector

Fill a clockwise circular sector; angles are radians from the positive x-axis.

Synopsis

Declared in <insightdock/draw_target.h>
virtual
void
fill_sector(
    float cx,
    float cy,
    float radius,
    double start,
    double end,
    Color const& color);

Description

The default implementation tessellates into a polygon, so existing custom targets need no new override. Raster and SVG targets use their native sector primitives.

Parameters

Name Description
color RGBA color with 8-bit per channel.

Created with MrDocs