uludaggonul / snow-dots

Automatically exported from code.google.com/p/snow-dots
0 stars 0 forks source link

dotsDrawableText to do its own textSettings #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As of r408, the only way to change things like text font size is with 
dotsTheDrawablesManager.setScreenTextSetting().  This matches the way the 
Psychtoolbox Screen is implemented, with global state modified by calls like 
Screen('TextSize').

But it might be too clumsy.  As long as calls like Screen('TextSize') are fast, 
it would be better to let each dotsDrawableText keep track of its own font 
size, etc, and modify the state of Screen just before drawing text.

Original issue reported on code.google.com by Benjamin.Heasly on 1 Oct 2010 at 5:30

GoogleCodeExporter commented 8 years ago
As of r554, the MGL branch has dotsDrawableText managing text settings like 
font and style on a per-object basis.

I'll close this when the MGL branch is done.

Original comment by Benjamin.Heasly on 26 Aug 2011 at 5:50

GoogleCodeExporter commented 8 years ago
Since r632 and the October2011 milestone, this is in trunk/ and 
tags/October2011.

Original comment by Benjamin.Heasly on 5 Oct 2011 at 3:35