Changeset d2100e2 in mainline for uspace/lib/gfxfont/private/font.h
- Timestamp:
- 2020-08-09T18:40:28Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 06b8383
- Parents:
- 5592c56
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/private/font.h
r5592c56 rd2100e2 39 39 40 40 #include <adt/list.h> 41 #include <errno.h> 42 #include <types/gfx/bitmap.h> 41 43 #include <types/gfx/context.h> 42 44 #include <types/gfx/font.h> … … 45 47 * 46 48 * This is private to libgfxfont. 49 * 50 * Font bitmap contains all the glyphs packed side by side (in order of 51 * @c gfx_font_t.glyphs). This is to conserve space and number of bitmaps 52 * used. The baselines of the glyphs are not mutually aligned. 53 * For each glyph @c gfx_glyph_t.origin designates 54 * pen start point (and thus the position of the baseline). 47 55 */ 48 56 struct gfx_font { … … 53 61 /** Glyphs */ 54 62 list_t glyphs; 63 /** Font bitmap */ 64 gfx_bitmap_t *bitmap; 65 /** Bitmap rectangle */ 66 gfx_rect_t rect; 55 67 }; 68 69 extern errno_t gfx_font_splice_at_glyph(gfx_font_t *, gfx_glyph_t *, 70 gfx_coord_t, gfx_coord_t); 56 71 57 72 #endif
Note:
See TracChangeset
for help on using the changeset viewer.