/usr/share/psychtoolbox-3/PsychRects/Contents.m is in psychtoolbox-3-common 3.0.11.20131230.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | % Psychtoolbox:PsychRects.
%
% help Psychtoolbox % For an overview, triple-click me & hit enter.
%
% AdjoinRect - Move one rect next to another.
% AlignRect - Align one rect over another.
% ArrangeRects - Arrange array of rects in a pleasing way.
% CenterRect - Center the first rect in the second.
% CenterRectOnPoint - Center rect around an x,y coordinate, round to
% integral positions. Vectorized.
% CenterRectOnPointd - Center rect around an x,y coordinate. Vectorized.
% ClipRect - Return intersection of two rects.
% GrowRect - Grow a rect by a certain number of pixels.
% InsetRect - Shrink/expand rect by additive insets.
% IsEmptyRect - Returns 1 if empty, returns 0 otherwise.
% IsInRect - Is the point inside the rect?
% OffsetRect - Shift rect vertically and horizontally. Vectorized.
% RectBottom - Return index of yBottom entry of a rect.
% RectCenter - Returns the integer x,y coordinates of center. Vectorized.
% RectCenterd - Returns the exact x,y coordinates of center. Vectorized.
% RectOfMatrix - Accept a matrix and return its bounding rect.
% RectHeight - Return height of a rect.
% RectLeft - Return index of xLeft entry of a rect.
% RectRight - Return index of xRight entry of a rect.
% RectTop - Return index of yTop entry of a rect.
% RectWidth - Return width of a rect.
% RectSize - Return the width and the height of a rect.
% ScaleRect - Scale a rect by multiplicative factors.
% SetRect - Create a rect.
% SizeOfRect - Accept a Psychtoolbox rect and return the
% corresponding image's MATLAB array size.
% UnionRect - Smallest rect containing two given rects.
% Copyright (c) 1997-2010 by David Brainard & Denis Pelli and the PTB
% developers.
|