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:
authorDiego Borghetti <bdiego@gmail.com>2009-03-03 00:02:39 +0300
committerDiego Borghetti <bdiego@gmail.com>2009-03-03 00:02:39 +0300
commit63b4879c9ed374b4213096fbea801baa7b6ef848 (patch)
tree7231c168998f098a318d969d74c85f99b4e338b7 /source/blender/blenfont/intern/blf_internal.h
parentc2fdac64c4eed74a146507c3e3d0b8b5f3183174 (diff)
And another commit to cleanup a little, this is the last,
next commit add internal font and we can go ahead and remove ftfont and bmfont.
Diffstat (limited to 'source/blender/blenfont/intern/blf_internal.h')
-rw-r--r--source/blender/blenfont/intern/blf_internal.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/blenfont/intern/blf_internal.h b/source/blender/blenfont/intern/blf_internal.h
index 1c29c736776..d160df67f18 100644
--- a/source/blender/blenfont/intern/blf_internal.h
+++ b/source/blender/blenfont/intern/blf_internal.h
@@ -35,21 +35,14 @@ int blf_utf8_next(unsigned char *buf, int *iindex);
char *blf_dir_search(const char *file);
int blf_dir_split(const char *str, char *file, int *size);
-#ifdef WITH_FREETYPE2
-
int blf_font_init(void);
void blf_font_exit(void);
+#ifdef WITH_FREETYPE2
+
FontBLF *blf_font_new(char *name, char *filename);
FontBLF *blf_font_new_from_mem(char *name, unsigned char *mem, int mem_size);
-void blf_font_free(FontBLF *font);
-void blf_font_size(FontBLF *font, int size, int dpi);
-void blf_font_draw(FontBLF *font, char *str);
-void blf_font_boundbox(FontBLF *font, char *str, rctf *box);
-float blf_font_width(FontBLF *font, char *str);
-float blf_font_height(FontBLF *font, char *str);
-
GlyphCacheBLF *blf_glyph_cache_find(FontBLF *font, int size, int dpi);
GlyphCacheBLF *blf_glyph_cache_new(FontBLF *font);
void blf_glyph_cache_free(GlyphCacheBLF *gc);