Blender Git Loki

Git Commits -> Revision 0d65520

Revision 0d65520 by Campbell Barton (master)
May 3, 2020, 06:51 (GMT)
BLF: add new arguments to BLF_GlyphBoundsFn

- glyph_bounds: to get the character width.
- glyph_bearing: lower left character starting point.

These values are needed for more precise glyph calculations.

Commit Details:

Full Hash: 0d65520f05ec5474e62d453aa62eb06efa3981d7
Parent Commit: d388c1c
Lines Changed: +15, -9

4 Modified Paths:

/source/blender/blenfont/BLF_api.h (+4, -2) (Diff)
/source/blender/blenfont/intern/blf_font.c (+1, -1) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+4, -2) (Diff)
/source/blender/editors/interface/interface_widgets.c (+6, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021