PsychRects

>Psychtoolbox>PsychRects

Psychtoolbox:PsychRects.

[AdjoinRect](AdjoinRect)          - Move one rect next to another.  
[AlignRect](AlignRect)           - Align one rect over another.  
[ArrangeRects](ArrangeRects)        - Arrange array of rects in a pleasing way.  
[CenterRect](CenterRect)          - Center the first rect in the second.  
[CenterRectArrayOnPoint](CenterRectArrayOnPoint) - Centers a group of rectangles 'rects' on a given point.  
[CenterRectOnPoint](CenterRectOnPoint)   - Center rect around an x,y coordinate, round to  
                      integral positions. Vectorized.  
[CenterRectOnPointd](CenterRectOnPointd)  - Center rect around an x,y coordinate. Vectorized.  
[ClipRect](ClipRect)            - Return intersection of two rects.  
[GrowRect](GrowRect)            - Grow a rect by a certain number of pixels.  
[InsetRect](InsetRect)           - Shrink/expand rect by additive insets.  
[IsEmptyRect](IsEmptyRect)         - Returns 1 if empty, returns 0 otherwise.  
[IsInRect](IsInRect)            - Is the point inside the rect?  
[OffsetRect](OffsetRect)          - Shift rect vertically and horizontally. Vectorized.  
[RectBottom](RectBottom)          - Return index of yBottom entry of a rect.  
[RectCenter](RectCenter)          - Returns the integer x,y coordinates of center. Vectorized.  
[RectCenterd](RectCenterd)         - Returns the exact x,y coordinates of center. Vectorized.  
[RectOfMatrix](RectOfMatrix)        - Accept a matrix and return its bounding rect.  
[RectHeight](RectHeight)          - Return height of a rect.  
[RectLeft](RectLeft)            - Return index of xLeft entry of a rect.  
[RectRight](RectRight)           - Return index of xRight entry of a rect.  
[RectTop](RectTop)             - Return index of yTop entry of a rect.  
[RectWidth](RectWidth)           - Return width of a rect.  
[RectSize](RectSize)            - Return the width and the height of a rect.  
[ScaleRect](ScaleRect)           - [Scale](Scale) a rect by multiplicative factors.  
[SetRect](SetRect)             - Create a rect.  
[SizeOfRect](SizeOfRect)          - Accept a Psychtoolbox rect and return the  
                      corresponding image's MATLAB array size.  
[UnionRect](UnionRect)           - Smallest rect containing two given rects.  
Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/Contents.m