Fill a convex polygon from vertex list.
<insightdock/image_buffer.h>Fill a convex polygon from vertex list.
void
fill_polygon(
std::pair<float, float> const* points,
std::size_t count,
Color const& color);
» more...
void
fill_polygon(
std::pair<float, float> const* points,
std::size_t count,
uint8_t r,
uint8_t g,
uint8_t b,
uint8_t a = 255);
» more...