diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-02-20 08:42:44 +0300 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-02-20 08:42:44 +0300 |
commit | 8145489a7dc2889bc0fa61f0e23c4dc0f7b300be (patch) | |
tree | bcf58e46a5844e2b3852576578a4e8aaa3b716fd /source/blender/blenfont/BLF_api.h | |
parent | 72e99d918215ed549a84e360530fc99d1caf56a1 (diff) |
Add clipping text option to blenfont also add an enable/disable
function for aspect and rotation (and the new clipping).
Update source/Makefile to point to the new libed_sculpt_paint.
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index decdbec8d7e..1485f0881b2 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -45,6 +45,10 @@ void BLF_boundbox(char *str, rctf *box); float BLF_width(char *str); float BLF_height(char *str); void BLF_rotation(float angle); +void BLF_clipping(float xmin, float ymin, float xmax, float ymax); + +void BLF_enable(int option); +void BLF_disable(int option); /* Read the .Blanguages file, return 1 on success or 0 if fails. */ int BLF_lang_init(void); @@ -78,4 +82,9 @@ char **BLF_dir_get(int *ndir); /* Free the data return by BLF_dir_get. */ void BLF_dir_free(char **dirs, int count); +/* font->flags. */ +#define BLF_ASPECT (1<<0) +#define BLF_ROTATION (1<<1) +#define BLF_CLIPPING (1<<2) + #endif /* BLF_API_H */ |