insightdock::charts::Font::draw_text_rotated_ccw

Draw text rotated 90° counter-clockwise (reads bottom-to-top).

Synopsis

Declared in <insightdock/font.h>
void
draw_text_rotated_ccw(
    ImageBuffer& buffer,
    float cx,
    float cy,
    std::string const& text,
    Color const& color) const;

Description

Used for y-axis labels. The text is centered on (cx, cy).

Parameters

Name Description
buffer Packed RGBA image (row-major, top-to-bottom).
color RGBA color with 8-bit per channel.

Created with MrDocs