Fill an axis-aligned rectangle (float coordinates, antialiased edges).
<insightdock/image_buffer.h>
void
fill_rect(
float x,
float y,
float w,
float h,
Color const& color);
| Name | Description |
|---|---|
| color | RGBA color with 8-bit per channel. |