std1.0.0-beta-7 SafeC docs

std :: gui::gui_text

Struct std::GuiGlyphBitmap

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

struct GuiGlyphBitmap {
    int glyph;
    int sizeKey;
    int subpixel;
    int width;
    int height;
    int left;
    int top;
    ?&heap unsigned char coverage;
}

One cached anti-aliased glyph image (owned by its typeface's cache).

Fields

§int glyphsource
§int sizeKeysource

size in 1/64 px

§int subpixelsource

0..3: horizontal offset in quarter pixels

§int widthsource
§int heightsource
§int leftsource

bitmap's top-left relative to the pen position, pixels

§int topsource
§?&heap unsigned char coveragesource

width*height bytes, 0..255