Changeset c78a03d in mainline for uspace/lib/gfxfont/private/glyph.h


Ignore:
Timestamp:
2020-07-21T22:48:59Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5592c56
Parents:
703c743
Message:

Flesh out most of font, glyph and glyph bitmap implementation and tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/private/glyph.h

    r703c743 rc78a03d  
    4949        struct gfx_font *font;
    5050        /** Link to list of glyphs in the font */
    51         list_t lglyphs;
     51        link_t lglyphs;
    5252        /** Glyph metrics */
    5353        gfx_glyph_metrics_t metrics;
     54        /** Text patterns (of gfx_glyph_pattern_t) */
     55        list_t patterns;
     56};
     57
     58/** Glyph pattern.
     59 *
     60 * Glyph is set if pattern is found in text.
     61 */
     62struct gfx_glyph_pattern {
     63        /** Containing glyph */
     64        struct gfx_glyph *glyph;
     65        /** Link to gfx_glyph.patterns */
     66        link_t lpatterns;
     67        /** Pattern text */
     68        char *text;
    5469};
    5570
Note: See TracChangeset for help on using the changeset viewer.