ClipRect
>Psychtoolbox>PsychRects
newRect = ClipRect(a,b)
Returns the rect that is the intersection of the two rects a and b.
Returns an empty rect [0 0 0 0] if the two rects are apart.
Also see PsychRects.
Path Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/ClipRect.m