Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-12 03:42:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-12 03:42:26 +0400
commit4124e2e0c9d42ec8d84ef06025932abeb333cd65 (patch)
treef0cbd062c81b888a6b0ce9c16f23227edb22050b /source/blender/blenfont/BLF_api.h
parent0e6e171cddf6740d9c20113303b82695943e0899 (diff)
get the width and height of the font at once when drawing auto-key,
also move BLF'g global font init into its own static function.
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r--source/blender/blenfont/BLF_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h
index ce10951d6ff..6f348ccc267 100644
--- a/source/blender/blenfont/BLF_api.h
+++ b/source/blender/blenfont/BLF_api.h
@@ -109,6 +109,7 @@ float BLF_fixed_width(int fontid);
* of the string, using the default font and both value
* are multiplied by the aspect of the font.
*/
+void BLF_width_and_height_default(const char *str, float *width, float *height);
float BLF_width_default(const char *str);
float BLF_height_default(const char *str);