[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: B&W Windows that are good for Color, Color windows that arent!
- To: hughes@aristotle.ils.nwu.edu, info-macl@cambridge.apple.com
- Subject: Re: B&W Windows that are good for Color, Color windows that arent!
- From: Ranson <ranson@lamd01>
- Date: 24 Jan 91 08:11:00
- X400-received: by /PRMD=inria/ADMD=atlas/C=fr/; Relayed; 24 Jan 91 08:14:48+0100
- X400-received: by /PRMD=CNET/ADMD=ATLAS/C=FR/; Relayed; 24 Jan 91 08:11:00
I think your problems are more with Color QuickDraw than with MACL.
About pixmaps and cgrafports: you must know that a window can overlap several
monitors, so you might ask yourself which screen pixmap is associated with
the window's port? In that case, it is always the pixmap of the main device.
To CQD, this is a hint that the port is onscreen, and drawing may need to be
done to multiple devices. This is very confusingly explained in IMv5, and
very well explained in IMv6.
Making color offscreen ports, especially in a multiscreen setup is very tricky.
I suggest you look at the sample code from DTS for that, or you use the new
offscreen traps in 32 bits QD. I've done this with MACL, and it works!
Daniel Ranson.
ranson@lannion.cnet.fr
AL: RANSON