lFlags

Flags that indicate how to handle peripherally exposed areas, how to handle centrally exposed areas, and the type of bending.

You can use a bit wise OR (|) to specify one flag from each group.

The following are the flags that indicate how to handle peripherally exposed areas:

Value

Meaning

FILL_CLR

[0x0000] Fill any exposed area with crFill.

FILL_RPT

[0x0001] Stretch the edges of the image to fill the exposed area.

FILL_NOCHG

[0x0002] Leave the exposed area as is, without changing it.

The following are the flags that indicate how to handle an exposed center:

Value

Meaning

FILL_ROT

[0x0000] Rotate the image inside the arc pattern.

FILL_WOUTROT

[0x0010] Fill the exposed center as you would any other exposed area. This is determined by setting the FILL_CLR, FILL_RPT or FILL_NOCHG flags.

This flag is ignored if the iValue parameter is negative.

The following are the flags that indicate how the bitmap is bent:

Value

Meaning

BND_NORM

[0x0000] Stretch the image along the vertical and horizontal planes.

BND_HORZ

[0x0100] Stretch the image along the horizontal plane.

BND_VERT

[0x0200] Stretch the image along the vertical plane.