[comp.sys.mac.programmer] ? How to copy/print PixMap on B&W application/device ?

astor@dev8j.mdcbbs.com (06/01/90)

I have an application which maintains a graphics window as an offscreen
PixMap.  When performing Copy or Printing operations, if the application
or printer is a monochrome application/device, not all of the colors
map to black.  I am planning on adding an option for Copy or Print to
select whether to perform the operation in Color or Black&White.

First, is there a simpler solution to this problem?

Second, the only way I see to perform the conversion from Color to
Black & White is to create an additional offscreen BitMap or 1 bit PixMap,
use CopyBits to copy to that area, and then an additional CopyBits from
that area to get the Copy or Print to occur.  I'd rather not have to
create an additional Bitmap.  Any other ways to do this?

Prefer response by email.  Thanks in advance.

-- 
  ================================================================
 |    Andy Astor            |   Voice:     (714) 952-5836        |
 |    McDonnell Douglas M&E |   UUCP:     uunet!mdcbbs!astor     |
 |    Cypress, CA           |   Internet: astor@mdcbbs.com       |
  ================================================================