Changes in uspace/lib/draw/font.h [b7fd2a0:8d2dd7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/draw/font.h
rb7fd2a0 r8d2dd7f2 91 91 92 92 typedef struct { 93 errno_t (*get_font_metrics)(void *, font_metrics_t *);94 errno_t (*resolve_glyph)(void *, wchar_t, glyph_id_t *);95 errno_t (*get_glyph_metrics)(void *, glyph_id_t, glyph_metrics_t *);96 errno_t (*render_glyph)(void *, drawctx_t *, source_t *, sysarg_t,93 int (*get_font_metrics)(void *, font_metrics_t *); 94 int (*resolve_glyph)(void *, wchar_t, glyph_id_t *); 95 int (*get_glyph_metrics)(void *, glyph_id_t, glyph_metrics_t *); 96 int (*render_glyph)(void *, drawctx_t *, source_t *, sysarg_t, 97 97 sysarg_t, glyph_id_t); 98 98 void (*release)(void *); … … 105 105 106 106 extern font_t *font_create(font_backend_t *, void *); 107 extern errno_t font_get_metrics(font_t *, font_metrics_t *);108 extern errno_t font_resolve_glyph(font_t *, wchar_t, glyph_id_t *);109 extern errno_t font_get_glyph_metrics(font_t *, glyph_id_t, glyph_metrics_t *);110 extern errno_t font_render_glyph(font_t *, drawctx_t *, source_t *,107 extern int font_get_metrics(font_t *, font_metrics_t *); 108 extern int font_resolve_glyph(font_t *, wchar_t, glyph_id_t *); 109 extern int font_get_glyph_metrics(font_t *, glyph_id_t, glyph_metrics_t *); 110 extern int font_render_glyph(font_t *, drawctx_t *, source_t *, 111 111 sysarg_t, sysarg_t, glyph_id_t); 112 112 extern void font_release(font_t *); 113 113 114 extern errno_t font_get_box(font_t *, char *, sysarg_t *, sysarg_t *);115 extern errno_t font_draw_text(font_t *, drawctx_t *, source_t *, const char *,114 extern int font_get_box(font_t *, char *, sysarg_t *, sysarg_t *); 115 extern int font_draw_text(font_t *, drawctx_t *, source_t *, const char *, 116 116 sysarg_t, sysarg_t); 117 117
Note:
See TracChangeset
for help on using the changeset viewer.