diff options
Diffstat (limited to 'source/blender/blenfont/intern/blf_internal_types.h')
-rw-r--r-- | source/blender/blenfont/intern/blf_internal_types.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h index 7313eb97426..9df04522b1f 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -171,6 +171,24 @@ typedef struct FontBLF { void (*free)(struct FontBLF *); } FontBLF; +typedef struct CharDataBLF { + signed char width, height; + signed char xorig, yorig; + signed char advance; + + short data_offset; +} CharDataBLF; + +typedef struct FontDataBLF { + int xmin, ymin; + int xmax, ymax; + + CharDataBLF chars[256]; + unsigned char *bitmap_data; + + GLuint texid; +} FontDataBLF; + typedef struct DirBLF { struct DirBLF *next; struct DirBLF *prev; |