[comp.sys.mac.programmer] Changing the port

russotto@eng.umd.edu (Matthew T. Russotto) (06/08/91)

Only SetPort (and OpenPort and InitPort, which call it) changes the current
port.  All the other routines in the Toolbox and Operating System (even those
that call SetPort, OpenPort, or InitPort) leave the current port set to what
it was when they were called. 

Thus sayeth Inside Macintosh, I-165.  

However, under System 6.0.5, on a Mac II, PaintBehind changes the current port,
apparently to the Window Manager Port.  This has wierd effects when the next
call is SetOrigin(0, 0)

Anyone know if this is a bug, fixed in 6.0.7 or 7.0?  How long has it
existed (my guess is since the Mac II and color quickdraw)
--
Matthew T. Russotto	russotto@eng.umd.edu	russotto@wam.umd.edu
     .sig under construction, like the rest of this campus.