insightdock::charts::Font::draw_text_rotated_cw

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

Synopsis

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

Description

Used for secondary (right-side) 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