lFlags

Flags that indicate the values used to fill the cells, the shape of the cells, and what type of data is in the iCellWidth and iCellHeight parameters. You can use a bitwise OR (|) to specify one flag from each group.

The following are the flags indicate what values will be used to fill the cells:

Value

Meaning

PIX_MAX

[0x0000] Fill the cell with its maximum pixel value.

PIX_MIN

[0x0001] Fill the cell with its minimum pixel value.

PIX_AVR

[0x0002] Fill the cell with its average pixel value.

The following are the flags that indicate the shape of the cells:

Value

Meaning

PIX_RECT

[0x0000] Divide the image into rectangular cells. If this flag used, the iCellWidth value contains the cell width in pixels or the number of cells across the width of the bitmap. iCellHeight contains the cell height in pixels or the number of cells across the height of the bitmap.

PIX_RAD

[0x0010] Divide the image into circular cells, centered around CenterX,CenterY. If this flag is used, the iCellWidth value determines the angular component of the cell, and iCellHeight determines the radial component of the cell. Please note that PIX_RAD must be OR-ed with PIX_WPER or PIX_WFRQ

The following are the flags that indicate what information is contained in the iCellWidth and iCellHeight parameters:

Value

Meaning

PIX_WFRQ

[0x0100] Indicates the number of cells along the width of the bitmap if rectangular cells are used. If circular cells are used, this indicates the number of cells present around the center of the circle.

PIX_WPER

[0x0200] Indicates the width, in pixels of a cell, if rectangular cells are used. If circular cells are used, this indicates the number of degrees in each cell around the center point.

PIX_HFRQ

[0x0400] Indicates the number of cells along the height of the bitmap if rectangular cells are used. If circular cells are used, this indicates the number of cells present along the radius of the circle.

PIX_HPER

[0x0800] Indicates the height, in pixels of a cell, if rectangular cells are used. If circular cells are used, this indicates the radial length of each cell along the radius.