Article View: comp.sys.mac
Article #27701RE: CopyBits questions
From: dfs059
Date: Mon, 02 May 1988 23:09
Date: Mon, 02 May 1988 23:09
29 lines
1421 bytes
1421 bytes
Tom Carstensen (tom@mntgfx.MENTOR.COM) asks:
>Must old programs that use copy bits assuming a black and
>white screen be updated, since it only allocates enough
>space for a 1 bit screen? Or will they be OK as long as the
>do CopyBits within thier own windows?
>Which is another question. Is it bad practice to do CopyBit
>operations outside your own window (i.e writing your own
>menus that do CopyBits on the desktop port). Must I check
>for the screen depth?
CopyBits works just fine on different screen depths, even
from a screen (window, grafPort, CGrafPort, whatever) of one
depth to one of a different depth.
As to your second question, I think that CopyBits would work
just fine outside your windows, although I am not real keen on
writing to the desktop port, as that doesn't sound very Multi-finder
compatible....
--------------------------------------------------------------
Dan Stanfill Multimission Image Processing Laboratory
Jet Propulsion Laboratory
ARPA: dfs059@mipl3.jpl.nasa.gov
SPAN: MIPL3::DFS059
--------------------------------------------------------------
Technical Details
Message-ID:
<6537@elroy.Jpl.Nasa.Gov>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-tis!ames!elroy!daemonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-tis!ames!elroy!daemon From: dfs059@Mipl3.JPL.Nasa.Gov Newsgroups: comp.sys.mac Subject: RE: CopyBits questions Message-ID: <6537@elroy.Jpl.Nasa.Gov> Date: 2 May 88 23:09:22 GMT Sender: daemon@elroy.Jpl.Nasa.Gov Lines: 28