Blender Git Loki
Git Commits -> Revision 7d81282
Revision 7d81282 by Diego Borghetti (master) August 18, 2009, 19:26 (GMT) |
Stamp info back only for float buffer. (next commit add unsigned char). A couple of new functions: BLF_width_and_height - Merge of BLF_width and BLF_height in one call to avoid freetype2 stuff. BLF_buffer - Set the buffer, size and number of channel. BLF_buffer_col - Set the text color (the alpha is not used right now). BLF_draw_buffer - Draw the text in the current buffer. Also tweak a little the boundbox and draw function to avoid access the freetype2 and use the cache info. By default the font size is 12, the UI still need work to allow change the font and size. |
Commit Details:
Full Hash: 7d812822bd9c522efc0730a4f219ccec9cfb4a57
SVN Revision: 22608
Parent Commit: 94511c6
Lines Changed: +384, -104
8 Modified Paths:
/source/blender/blenfont/BLF_api.h (+27, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+45, -0) (Diff)
/source/blender/blenfont/intern/blf_font.c (+155, -14) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+2, -0) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+2, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+20, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+132, -90) (Diff)
/source/blender/blenkernel/intern/Makefile (+1, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+45, -0) (Diff)
/source/blender/blenfont/intern/blf_font.c (+155, -14) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+2, -0) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+2, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+20, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+132, -90) (Diff)
/source/blender/blenkernel/intern/Makefile (+1, -0) (Diff)