Changeset c78a03d in mainline for uspace/lib/gfxfont/include
- 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/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/include/gfx/glyph.h
r703c743 rc78a03d 40 40 #include <types/gfx/font.h> 41 41 #include <types/gfx/glyph.h> 42 #include <types/gfx/glyph_bmp.h> 42 #include <stdbool.h> 43 #include <stddef.h> 43 44 44 45 extern void gfx_glyph_metrics_init(gfx_glyph_metrics_t *); … … 50 51 extern errno_t gfx_glyph_set_pattern(gfx_glyph_t *, const char *); 51 52 extern void gfx_glyph_clear_pattern(gfx_glyph_t *, const char *); 52 extern errno_t gfx_glyph_open_bmp(gfx_glyph_t *, gfx_glyph_bmp_t **); 53 extern bool gfx_glyph_matches(gfx_glyph_t *, const char *, size_t *); 54 extern gfx_glyph_pattern_t *gfx_glyph_first_pattern(gfx_glyph_t *); 55 extern gfx_glyph_pattern_t *gfx_glyph_next_pattern(gfx_glyph_pattern_t *); 56 extern const char *gfx_glyph_pattern_str(gfx_glyph_pattern_t *); 53 57 54 58 #endif -
uspace/lib/gfxfont/include/gfx/glyph_bmp.h
r703c743 rc78a03d 39 39 #include <errno.h> 40 40 #include <gfx/coord.h> 41 #include <types/gfx/glyph.h> 41 42 #include <types/gfx/glyph_bmp.h> 42 43 44 extern errno_t gfx_glyph_bmp_open(gfx_glyph_t *, gfx_glyph_bmp_t **); 43 45 extern errno_t gfx_glyph_bmp_save(gfx_glyph_bmp_t *); 44 46 extern void gfx_glyph_bmp_close(gfx_glyph_bmp_t *); -
uspace/lib/gfxfont/include/types/gfx/font.h
r703c743 rc78a03d 45 45 typedef struct { 46 46 /** Ascent */ 47 gfx_coord_t a cent;47 gfx_coord_t ascent; 48 48 /** Descent */ 49 49 gfx_coord_t descent; -
uspace/lib/gfxfont/include/types/gfx/glyph.h
r703c743 rc78a03d 42 42 typedef struct gfx_glyph gfx_glyph_t; 43 43 44 struct gfx_glyph_pattern; 45 typedef struct gfx_glyph_pattern gfx_glyph_pattern_t; 46 44 47 /** Glyph metrics */ 45 48 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.