Docs @ Psychtoolbox Wiki : bvlExpandContractDots

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

bvlExpandContractDots

PsychtoolboxPsychGLImageProcessingprivate

newDots = bvlExpandContractDots(dots, strDir, delta)

Expansion or contraction of dots in the given direction by the specified amount.

dots - [Nx2] array of dots to be translated. First column is the x
coordinate, Second Column the y coordinate.
[x1 y1; x2 y2; .... xN yN];

strDir - string specifing the direction
'horiz_out', 'horiz_in', 'vert_out', 'vert_in'

delta - amount to translate

newDots - [Nx2] translated array

NOTE: Origin is at top-left of screen.



Path
Psychtoolbox/PsychGLImageProcessing/private/bvlExpandContractDots.m

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