rect=
AdjoinRect(rect,fixedRect,fixedSide)
Moves rect to be outside and alongside the specified edge of fixedRect.
The legal values for fixedSide are:
RectLeft,
RectRight,
RectTop, and
RectBottom.
Also see
PsychRects.
Psychtoolbox/PsychRects/AdjoinRect.m