Blender Git Commit Log

Git Commits -> Revision a117731

Revision a117731 by Ton Roosendaal (master)
June 1, 2009, 17:21 (GMT)
2.5

- Fix: text draw in fonts was slightly too low; it didn't calculate offset
correctly. Now it is aligned to have number characters in center.

- Fix: text clip was too wide, giving errors on extreme zoom in.

- Added boundbox-clipped default text drawing for view2d:

void UI_view2d_text_cache_rectf(View2D *v2d, rctf *rect, char *str)

(Note; also for previous commit, this cache immediately projects, so if
you change view2d while drawing, text is still on correct positions)


Commit Details:

Full Hash: a117731aa23c25d699c405325c7bb7ac5680a5e7
SVN Revision: 20561
Parent Commit: cb96aa4
Lines Changed: +40, -4

4 Modified Paths:

/source/blender/editors/include/UI_view2d.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_style.c (+2, -2) (Diff)
/source/blender/editors/interface/view2d.c (+31, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021