Docs @ Psychtoolbox Wiki : TextSize

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [9782]

Last edited on 2010-01-11 08:33:50 by DocBot
Additions:
Read/Set the text size for the specified window.
You can assign a default font size for new windows via a call to
[[Screen]]('[[Preference]]', 'DefaultFontSize'). The initial default font size is
operating system dependent.
Deletions:
Read/Set the text size for the specified window. The OS-X and M$-Windows
versions accept any text size as they use TrueType fonts for representing text.
The GNU/Linux version currently is pretty picky. You need to supply one of a
limited number of available text sizes for the current font, otherwise
[[Screen]]('DrawText') will fail with an error message.


Revision [9152]

Edited on 2008-11-05 05:58:55 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[TextSize Screen('TextSize')]]===
Deletions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[TextSize Screen('TextSize')]]===


Revision [7036]

Edited on 2008-07-10 16:08:30 by DocBot
Additions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[TextSize Screen('TextSize')]]===
""</div>""
Deletions:
===[[TextSize Screen('TextSize')]]===


Revision [4976]

Edited on 2008-04-26 21:22:27 by DocBot
Additions:
%%(matlab;Usage)oldTextSize=Screen('TextSize', windowPtr [,textSize]);%%
Deletions:
%%(matlab;Usage)oldTextSize=[[Screen]]('TextSize', windowPtr [,textSize]);%%


Revision [4947]

Edited on 2008-04-26 20:19:50 by DocBot
Additions:
===[[TextSize Screen('TextSize')]]===
Deletions:
===[[subfunction Screen('TextSize')]]===


Revision [4891]

Edited on 2008-04-26 20:06:47 by DocBot
Additions:
===[[subfunction Screen('TextSize')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)oldTextSize=[[Screen]]('TextSize', windowPtr [,textSize]);%%
[[Screen]]('DrawText') will fail with an error message.
Deletions:
===[[TextSize]]===
==ScreenFunctions==
Usage:
oldTextSize=Screen('TextSize', windowPtr [,textSize]);
Screen('DrawText') will fail with an error message.
ScreenFunctions


Revision [2517]

The oldest known version of this page was created on 2008-03-15 23:19:01 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0155 seconds