Changeset c78a03d in mainline for uspace/lib/gfxfont/private
- Timestamp:
- 2020-07-21T22:48:59Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5592c56
- Parents:
- 703c743
- Location:
- uspace/lib/gfxfont/private
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/private/font.h
r703c743 rc78a03d 38 38 #define _GFX_PRIVATE_FONT_H 39 39 40 #include <adt/list.h> 40 41 #include <types/gfx/context.h> 41 42 #include <types/gfx/font.h> … … 50 51 /** Font metrics */ 51 52 gfx_font_metrics_t metrics; 53 /** Glyphs */ 54 list_t glyphs; 52 55 }; 53 56 -
uspace/lib/gfxfont/private/glyph.h
r703c743 rc78a03d 49 49 struct gfx_font *font; 50 50 /** Link to list of glyphs in the font */ 51 li st_t lglyphs;51 link_t lglyphs; 52 52 /** Glyph metrics */ 53 53 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 */ 62 struct 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; 54 69 }; 55 70 -
uspace/lib/gfxfont/private/glyph_bmp.h
r703c743 rc78a03d 38 38 #define _GFX_PRIVATE_GLYPH_BMP_H 39 39 40 #include <gfx/coord.h> 41 40 42 /** Glyph bitmap 41 43 * … … 49 51 /** Containing glyph */ 50 52 struct gfx_glyph *glyph; 53 /** Rectangle covered by bitmap */ 54 gfx_rect_t rect; 55 /** Pixel array */ 56 int *pixels; 51 57 }; 52 58
Note:
See TracChangeset
for help on using the changeset viewer.