Index

C/C++ Functions

dtPatternGetBitmap

DT_UBYTE* dtPatternGetBitmap(DT_DTENGINE engine, DT_ID_SWORD group_index, DT_ID_SWORD pattern_index)

Short Description: Get pattern fill's bitmap data

This function returns the bitmap data for the specified pattern fill in the Pattern Catalog.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

group_index

Index of the pattern group in which the specified pattern fill is to be found.

pattern_index

Index of the pattern fill for which the bitmap data is to be retrieved.

Return Value

The return value is a pointer to the pattern fill's bitmap. This is a 16x16 pixel monochrome (1 bit per pixel) bitmap. Thus, the size of the bitmap is precisely 32 bytes.

In addition, your applications does not own bitmap pointed by this pointer and should not attempt to free it.

 

Index