Changeset ea459d4 in mainline for uspace/lib/gfxfont/private
- Timestamp:
- 2020-09-24T14:25:21Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 120031a5
- Parents:
- aaf962e6
- git-author:
- Jiri Svoboda <jiri@…> (2020-09-22 17:25:10)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-09-24 14:25:21)
- Location:
- uspace/lib/gfxfont/private
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/private/font.h
raaf962e6 rea459d4 59 59 /** Containing typeface */ 60 60 struct gfx_typeface *typeface; 61 /** Containing font info */ 62 struct gfx_font_info *finfo; 61 63 /** Font metrics */ 62 64 gfx_font_metrics_t metrics; … … 82 84 /** Font or @c NULL if font is not present in memory */ 83 85 struct gfx_font *font; 86 /** Font chunk from which font can be read */ 87 riff_rchunk_t fontck; 84 88 }; 85 89 86 90 extern errno_t gfx_font_splice_at_glyph(gfx_font_t *, gfx_glyph_t *, 87 91 gfx_rect_t *); 92 extern errno_t gfx_font_info_load(gfx_typeface_t *, riff_rchunk_t *); 93 extern errno_t gfx_font_load(gfx_font_info_t *); 88 94 extern errno_t gfx_font_save(gfx_font_info_t *, riffw_t *); 89 95 -
uspace/lib/gfxfont/private/glyph.h
raaf962e6 rea459d4 77 77 extern errno_t gfx_glyph_transfer(gfx_glyph_t *, gfx_coord_t, gfx_bitmap_t *, 78 78 gfx_rect_t *); 79 extern errno_t gfx_glyph_load(gfx_font_t *, riff_rchunk_t *); 79 80 extern errno_t gfx_glyph_save(gfx_glyph_t *, riffw_t *); 80 81 -
uspace/lib/gfxfont/private/typeface.h
raaf962e6 rea459d4 40 40 #include <adt/list.h> 41 41 #include <errno.h> 42 #include <riff/chunk.h> 42 43 #include <types/gfx/bitmap.h> 43 44 #include <types/gfx/context.h> … … 57 58 /** Fonts (of gfx_font_info_t) */ 58 59 list_t fonts; 60 /** RIFF reader of the open typeface file or @c NULL */ 61 riffr_t *riffr; 59 62 }; 60 63
Note:
See TracChangeset
for help on using the changeset viewer.
