insightdock::charts::detail::ScaledTarget::draw_text

Draw UTF-8 text using font's size, anchored per align / baseline.

Synopses

Declared in <insightdock/draw_target.h>
virtual
void
draw_text(
    Font const& font,
    float x,
    float y,
    std::string const& text,
    Color const& color,
    TextAlign align,
    TextBaseline baseline) override;
» more...

Draw UTF-8 text using font's size, anchored per align / baseline.

virtual
void
draw_text(
    Font const& font,
    float x,
    float y,
    std::string const& text,
    Color const& color,
    TextAlign align = TextAlign::Left,
    TextBaseline baseline = TextBaseline::Alphabetic) = 0;
» more...

Created with MrDocs