diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-08-07 00:51:41 +0400 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-08-07 00:51:41 +0400 |
commit | d5f51f5019fa8dc751abb862dd8bbaabbcf92308 (patch) | |
tree | da1fcb5686514c81a100316023c045cff7704c4f /source/blender/blenfont/intern/blf_internal_types.h | |
parent | 74b3681532b028e66f29aef19d2a0a7e18da6ee2 (diff) |
Cleanup a little to add "draw to buffer" (and bring back stamp).
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 60c2933eb61..d457225662f 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -98,6 +98,11 @@ typedef struct GlyphBLF { int xoff; int yoff; + /* Bitmap data, from freetype. Take care that this + * can be NULL. + */ + unsigned char *bitmap; + /* glyph width and height. */ int width; int height; @@ -111,6 +116,9 @@ typedef struct GlyphBLF { */ float pos_x; float pos_y; + + /* with value of zero mean that we need build the texture. */ + short build_tex; } GlyphBLF; typedef struct FontBLF { |