MATLAB Programming/Psychtoolbox/Screen Commands/TextMode

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Usage:

oldCopyMode=Screen(windowPtr,'TextMode',[copyMode])

Get/set text copy mode of this window.

copyMode can be an integer or a string: 'srcCopy' (default), 'srcOr', 'srcXor', 'srcBic', 'notSrcCopy', 'notSrcOr', 'notSrcXor', 'notSrcBic', 'patCopy', 'patOr', 'patXor', 'patBic', 'notPatCopy', 'notPatOr', 'notPatXor', 'notPatBic'. On the Windows version, this function does nothing, since there is no apparent options on Windows that correspond to the Mac text modes.