std1.0.0-beta-7 SafeC docs

std :: gui::gui_text

Struct std::GuiTextLine

#include <std/gui/gui_text.h> source

struct GuiTextLine {
    unsigned long firstGlyph;
    unsigned long glyphCount;
    unsigned long byteStart;
    unsigned long byteEnd;
    float x;
    float width;
    float top;
    float baseline;
}

Fields

§unsigned long firstGlyphsource
§unsigned long glyphCountsource
§unsigned long byteStartsource
§unsigned long byteEndsource

excluding the line break

§float xsource

left edge after alignment

§float widthsource

trailing spaces not counted

§float topsource
§float baselinesource