lFlags

Flags that indicate which type of tiles to draw, whether to apply shadows, and how to apply the shadows when shadowing is used. You can use a bit wise OR (|) to specify one flag from each group.

The following flags indicate which type of tiles to draw:

Value

Meaning

RMN_RECT

[0x0000] Draw rectangular tiles in a grid. When this flag is used lTileWidth contains the tile width in pixels, and lTileHeight contains the tile height in pixels.

RMN_CIRC

[0x0001] Draw rounded rectangular tiles in rings around the center of the bitmap. When this flag is used lTileWidth contains the radial component of the tile in pixels.

RMN_BOTH

[0x0002] Draw both rounded rectangular and rectangular tiles. Draw the largest circle that will fit inside the bitmap and fill that with rings of rounded rectangular tiles. Any part of the bitmap that is not covered by the rounded rectangular tiles gets covered with a grid of rectangular tiles.

The following flags indicate how to apply the shadow on the tiles, and whether to use shadowing:

Value

Meaning

RMN_FLAT

[0x0000] Do not apply shadows.

RMN_SHADOWRGB

[0x0010] Apply colored shadows.

RMN_SHADOWGRAY

[0x0020] Apply grayscale shadows.