Draw text rotated 90° counter-clockwise (reads bottom-to-top).
<insightdock/font.h>
void
draw_text_rotated_ccw(
ImageBuffer& buffer,
float cx,
float cy,
std::string const& text,
Color const& color) const;
Used for y-axis labels. The text is centered on (cx, cy).
| Name | Description |
|---|---|
| buffer | Packed RGBA image (row-major, top-to-bottom). |
| color | RGBA color with 8-bit per channel. |