Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-06-01 20:22:53 +0400
committerTon Roosendaal <ton@blender.org>2009-06-01 20:22:53 +0400
commitcb96aa47dbcefa8be8db63dc8fc2607b16b2d5d1 (patch)
treeda0a2de7e32c2bc47423d4f448ff48b12acf807f /release/ui/buttons_particle.py
parentdbbe06b690c8c133cfd5be87db22cc10cf987f8d (diff)
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.
Diffstat (limited to 'release/ui/buttons_particle.py')
0 files changed, 0 insertions, 0 deletions