diff options
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index d6773916abd..c69a0b1eb73 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -66,7 +66,8 @@ /* Font array. */ static FontBLF *global_font[BLF_MAX_FONT] = {NULL}; -/* XXX, should these be made into global_font_'s too? */ +/* XXX: should these be made into global_font_'s too? */ + int blf_mono_font = -1; int blf_mono_font_render = -1; @@ -568,14 +569,6 @@ int BLF_draw_mono(int fontid, const char *str, const size_t str_len, int cwidth) return columns; } -/** - * Run \a user_fn for each character, with the bound-box that would be used for drawing. - * - * \param user_fn: Callback that runs on each glyph, returning false early exits. - * \param user_data: User argument passed to \a user_fn. - * - * \note The font position, clipping, matrix and rotation are not applied. - */ void BLF_boundbox_foreach_glyph_ex(int fontid, const char *str, size_t str_len, |