All Databases
Inside Mac - Index
PenState
PenState
structure
#include <
Quickdraw.h
>
typedef struct
PenState
{
Size Offset Description
Point
pnLoc ; 4 0 Current location, in local coordinates
Point
pnSize ; 4 4 Current size (.h is width, .v is height)
short
pnMode ; 2 8 Current transfer mode (
srcCopy
, et al.)
Pattern
pnPat ; 8 10 Current
Pattern
used for drawing
}
PenState
; 18
Notes: Use the PenState structure in calls to
GetPenState
and
SetPenState
.
See
Transfer Modes
for possible values in the
pnMode
field.
Referenced by (13):
Types.h
yellowColor
January 92 - The Soup Kitchen - Extending C++ with C++ (Frameworks Archive)
yellowColor (Inside Mac - Index)
GetPenState (Inside Mac - Basic Toolbox)
SetPenState (Inside Mac - Basic Toolbox)
Doodats (MacTech Vol 05-1989)
MIDI User Interface (MacTech Vol 05-1989)
Quadratic Plotters 2 (MacTech Vol 05-1989)
Mouse in MacApp (MacTech Vol 06-1990)
Track, Field 2 (MacTech Vol 06-1990)
Dragging Objects (MacTech Vol 07-1991)
Resize Objects (MacTech Vol 07-1991)