Docs @ Psychtoolbox Wiki : TextStyle

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Screen('TextStyle')

PsychtoolboxScreen.{mex*,dll} subfunction

Usage
oldStyle=Screen('TextStyle', windowPtr [,style]);

Get/set the font style for future text draws in this window. Useful values for
style follow; they may be OR'd. See Inside Mac TextFace() for more. On
M$-Windows and GNU/Linux, only a subset of these settings is honored - All
settings are accepted, but some of them are silently ignored on Windows and
Linux. On Windows the default text style is bold, because this increases
readability on that system.
0=normal,1=bold,2=italic,4=underline,8=outline,32=condense,64=extend.
You can assign a default font style for new windows via a call to
Screen('Preference', 'DefaultFontStyle'). The initial default font style is
operating system dependent.
Not all fonts support all style settings. Unsupported settings for the currently
selected font will be silently ignored.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.2018 seconds