Docs @ Psychtoolbox Wiki : ArrangeRects

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

ArrangeRects

PsychtoolboxPsychRects

cellRects=ArrangeRects(n,objectRect,windowRect,[rightToLeft]);

Returns an array of n contiguous rects that achieve a visually
pleasing arrangement of n objects of size objectRect within a
window of size windowRect. Each row of the returned matrix is a rect.
If the rightToLeft argument is supplied and nonzero then
the cells are ordered right to left (like Hebrew letters).
Otherwise they are ordered left to right (like English letters).
The result depends on the proportions of the objectRect, but is
independent of its size and position.
Also see PsychRects.




Path   Retrieve current version of ArrangeRects.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychRects/ArrangeRects.m


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