pittenger-laurence@cs.yale.edu (Laurence Arthur Pittenger) (02/10/91)
To All --
Ok all you wizards -- here's a nasty.
I'm writing a program which handles a bunch of cGrafPorts. In a
sense, they "inherit" characteristics from each other, so when they're
set up I copy the pertinant fields into the new one.
Now, usually these cGrafPorts work just fine, but on 2 commands now,
FrameRect() and DragGrayRgn(), the program >BOMBS<. My guess is that
the cGrafPort is not set up correctly, because I know the parameters
to the call are correct and the only other info these calls uses is, I
assume, the current port -- ie my cGrafPort.
The obvious solution is that the cGrafPort's pen is not set up
correctly. This, however, is not the case. Likewise the foreground
and background colours.
I have no idea what else might be the problem, and I'm kinda stuck
until I can figure this out. Thus...
HEEEEEELLLLLLLLP!
Apropos of all this, is there a book out there which details the
ToolBox commands, telling things such as what info each commans
uses/changes. Such a book would sure help me now, 'cause it would
list everything that could be the problem.
Thanks in advance,
LP
--
Laurence A. Pittenger
CSNET : pittenger-laurence@cs.yale.edu
BITNET : pitlaua@yalevm , pittenger-laurence@yalecs