This function inverts the 8-bit grayscale memory bitmap data, so that black (fully opaque) pixels become white (fully transparent) and vice versa.
Parameter | Description |
---|---|
engine |
Handle of the previously created Standard Engine instance. |
memory_bitmap |
A valid pointer to the DT_BMP structure that contains information about the plain 8-bit grayscale memory bitmap. This must be a non-compressed bitmap. Compressed bitmaps are not supported by this function. |
The dtBitmapInvert function can be used to invert 8-bit grayscale memory data produced by dtShapeDoOutput. You can also use this function to invert any other 8-bit grayscale memory data, as long as the bitmap data is not compressed.