diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-02-19 19:39:36 +0300 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-02-19 19:39:36 +0300 |
commit | 6bf9f383dc3d0dc271dd3ffa3e22becea5675530 (patch) | |
tree | 2a77c248e1cb9952e5474cce1b7714b9b77e4be2 /source/blender/blenfont/intern/blf_internal_types.h | |
parent | f377be3783937e5979efa9952296af1a72909a54 (diff) |
4 new function, boundbox, width, height and rotation.
The rotation is through glRotatef and as you can see it's ugly,
the freetype2 allow apply a transformation (2x2 mat) to the glyph
before load, so I want to try using that.
Another thing to add is the 4x4 mat to get the scale and size from
there.. but I need commit this now to continue from my home.
Diffstat (limited to 'source/blender/blenfont/intern/blf_internal_types.h')
-rw-r--r-- | source/blender/blenfont/intern/blf_internal_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h index f8d5159bd9b..a0198283869 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -143,7 +143,7 @@ typedef struct FontBLF { float pos[3]; /* angle in degrees. */ - float angle[3]; + float angle; /* this is the matrix that we load before rotate/scale/translate. */ float mat[4][4]; |