Docs @ Psychtoolbox Wiki : ScaleRect

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

ScaleRect

PsychtoolboxPsychRects

r = ScaleRect(r,horizontalFactor,verticalFactor)

Scales a rect, by multiplying the left and right coordinates by the
horizontal scale factor and multiplying the top and bottom coordinates
by the vertical scale factor. Also see Expand and InsetRect.
Input can be multiple rects, concatenated into a Mx4 matrix

Also see PsychRects.




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


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