[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'GraphType' (#lcl)

TRawImageDescription.MaskBitsPerPixel

Bits per mask pixel, 0 when no mask is present.

Declaration

Source position: graphtype.pp line 137

TRawImageDescription.MaskBitsPerPixel: Byte;

Description

A pixel Mask (currently) has a logical depth of 1 bit per pixel, but a pixel can occupy an entire byte[?] As opposed to the Alpha (transparency) channel, a Mask is stored in its own array. [of bits or bytes?] A Mask value of 1 means that the pixel is masked (transparent); a value of 0 means the pixel value is shown (opaque).

The latest version of this document can be found at lazarus-ccr.sourceforge.net.