All Databases
Inside Mac - Index
rgnSize
Region
structure
#include <
Quickdraw.h
>
typedef struct
Region
{
Size Offset Description
short
rgnSize; 2 0 Size of structure, in bytes
Rect
rgnBBox; 8 2 Rectangle enclosing entire region
n
10 Description data (if not a simple rectangle)
}
Region
; 10+
n
( variable-length structure)
typedef Region
* RgnPtr
;
typedef Region
** RgnHandle
;
Notes: The Region structure or a RgnHandle is used in:
CloseRgn
FrameRgn
PaintOne
SetRectRgn
CopyRgn
GetClip
PaintRgn
StdRgn
DiffRgn
InsetRgn
PtInRgn
UnionRgn
DisposeRgn
InvalRgn
RectInRgn
UpdtControl
DragGrayRgn
InvertRgn
RectRgn
UpdtDialog
EmptyRgn
LUpdate
ScrollRect
ValidRgn
EqualRgn
MapRgn
SectRgn
XorRgn
EraseRgn
NewRgn
SetClip
FillRgn
OffsetRgn
SetEmptyRgn
The Quickdraw function
OpenRgn
records region information into the
rgnSave
handle maintained in the
GrafPort
.
Referenced by (10):
CWindowRecord
How To Hide the MenuBar
Types.h
WindowRecord
rgbFgColor
visRgn
wTitleBarLight
yellowColor
MacDraw Files (MacTech Vol 03-1987)
Convert Pict2Rgn (MacTech Vol 05-1989)