Files
test/source
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
..
2.5
2009-06-01 16:22:53 +00:00
2009-05-05 23:10:32 +00:00
2.5
2009-05-16 13:56:40 +00:00
2.5
2009-06-01 12:10:30 +00:00
2.5
2009-06-01 12:10:30 +00:00
2009-05-05 23:10:32 +00:00
2009-03-30 18:21:17 +00:00