SizeOfRect - aleslab/Psychtoolbox-3-aleslab-fork GitHub Wiki

s=SizeOfRect(rect);
Accepts a Psychtoolbox rect [left, top, right, bottom] and returns the
size [rows columns] of a MATLAB array (i.e. image) just big enough to
hold all the pixels.
See also RectOfMatrix, RectHeight, RectWidth, PsychRects.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/SizeOfRect.m
⚠️ **GitHub.com Fallback** ⚠️