Changeset 06b8383 in mainline for uspace/lib/gfxfont/private/font.h
- Timestamp:
- 2020-08-18T11:32:59Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 20d0098
- Parents:
- d2100e2
- git-author:
- Jiri Svoboda <jiri@…> (2020-08-17 18:32:40)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-08-18 11:32:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/private/font.h
rd2100e2 r06b8383 43 43 #include <types/gfx/context.h> 44 44 #include <types/gfx/font.h> 45 #include <types/gfx/typeface.h> 45 46 46 47 /** Font … … 55 56 */ 56 57 struct gfx_font { 57 /** Graphics context of the font*/58 gfx_context_t *gc;58 /** Containing typeface */ 59 struct gfx_typeface *typeface; 59 60 /** Font metrics */ 60 61 gfx_font_metrics_t metrics; … … 67 68 }; 68 69 70 /** Font info 71 * 72 * This is an entry in the list of fonts in typeface 73 */ 74 struct gfx_font_info { 75 /** Containing typeface */ 76 struct gfx_typeface *typeface; 77 /** Link to @c typeface->fonts */ 78 link_t lfonts; 79 /** Font properties */ 80 gfx_font_props_t props; 81 /** Font or @c NULL if font is not present in memory */ 82 struct gfx_font *font; 83 }; 84 69 85 extern errno_t gfx_font_splice_at_glyph(gfx_font_t *, gfx_glyph_t *, 70 86 gfx_coord_t, gfx_coord_t);
Note:
See TracChangeset
for help on using the changeset viewer.