Files
test/source/blender
Ton Roosendaal cb96aa47db 2.5
Added support for cached text drawing in View2D. Cache is needed to
prevent the viewmatrix being set/restored on each text drawing.

Adding a string:
void UI_view2d_text_cache_add(View2D *v2d, float x, float y, char *str)

Drawing:
void UI_view2d_text_cache_draw(ARegion *ar)

Nothing else needed; just make sure cache-draw is always called at end
of a view2d drawing function, to clear cache memory.

On todo for next: a version with a rectf boundary to clip text within.
2009-06-01 16:22:53 +00:00
..
2008-12-23 21:20:34 +00:00
2.5
2009-05-18 16:42:34 +00:00
2.5
2009-05-24 13:29:29 +00:00
2.5
2009-06-01 16:22:53 +00:00
2.5
2009-06-01 11:31:06 +00:00
2009-05-05 23:10:32 +00:00
2009-05-28 10:31:56 +00:00
2.5
2009-06-01 12:10:30 +00:00
2.5
2009-06-01 12:10:30 +00:00
2.5
2009-06-01 12:10:30 +00:00
2.5
2009-06-01 12:10:30 +00:00