Index

C/C++ Functions

dtBitmapInvert

void dtBitmapInvert(DT_DTENGINE engine, DT_BMP* memory_bitmap)

Short Description: Invert grayscale bitmap

This function inverts the 8-bit grayscale memory bitmap data, so that black (fully opaque) pixels become white (fully transparent) and vice versa.

Parameters

ParameterDescription

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.

Comments

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.

 

Index