Get2BitPixel

To get a pixel RGB value from a PixMapHandle, use the Get2BitPixel function.

FUNCTION Get2BitPixel(pix as PixMapHandle, h as Integer,v as Integer) as Color

pix The PixMapHandle to work on.

h Horizontal coordinate.

v Vertical coordinate.


Description:
Returns a RGB value from a 2 bit PixMapHandle. Make sure the PixMapHandle is locked before working with it. To get bit dept of a PixMapHandle then use the pixelSize property on the PixMapHandle object.

Supported platforms:
* MacOS PPC
* MacOS Carbon
* MacOS 68k

Unsupported platforms:
* Windows x86