diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-03-03 00:02:39 +0300 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-03-03 00:02:39 +0300 |
commit | 63b4879c9ed374b4213096fbea801baa7b6ef848 (patch) | |
tree | 7231c168998f098a318d969d74c85f99b4e338b7 /source/blender/blenfont/intern/blf_internal_types.h | |
parent | c2fdac64c4eed74a146507c3e3d0b8b5f3183174 (diff) |
And another commit to cleanup a little, this is the last,
next commit add internal font and we can go ahead and remove
ftfont and bmfont.
Diffstat (limited to 'source/blender/blenfont/intern/blf_internal_types.h')
-rw-r--r-- | source/blender/blenfont/intern/blf_internal_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h index 99c6dac13e2..7313eb97426 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -161,6 +161,14 @@ typedef struct FontBLF { /* engine data. */ void *engine; + + /* engine functions. */ + void (*size_set)(struct FontBLF *, int, int); + void (*draw)(struct FontBLF *, char *); + void (*boundbox_get)(struct FontBLF *, char *, rctf *); + float (*width_get)(struct FontBLF *, char *); + float (*height_get)(struct FontBLF *, char *); + void (*free)(struct FontBLF *); } FontBLF; typedef struct DirBLF { |