C (93/254)

From:sebauer
Date:24 Apr 00 at 08:03:11
Subject:Re: Minterms

Hello Daithi

On 23-Apr-00, Daithi O'Cuinn wrote:
> I specify the BitMap like so:
> map_scratch = AllocBitMap(1024, 1024, 8, NULL, win->RPort->BitMap)

You must use the BMF_MINPLANES flag, otherwise the bitmap will not
allocated in cgfx board native bitmap format.

This is what I would use:

map_scratch = AllocBitMap(1024, 1024,
GetBitMapAttr(win->RPort->BitMap, BMA_DEPTH),
BMF_MINPLANES, win->RPort->BitMap);

bye,
Sebastian Bauer

------------------------------------------------------------------------
You have a voice mail message waiting for you at iHello.com:
http://click.egroups.com/1/3555/1/_/451227/_/956560040/
------------------------------------------------------------------------