uFlags

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

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

Value

Meaning

PIX_MAX

[$0000] Fill the cell with its maximum pixel value.

PIX_MIN

[$0001] Fill the cell with its minimum pixel value.

PIX_AVR

[$0002] Fill the cell with its average pixel value.

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

Value

Meaning

PIX_RECT

[$0000] Divide the image into rectangular cells. If this flag used, the uCellWidth value contains the cell width in pixels or the number of cells across the width of the bitmap. uCellHeight contains the cell height in pixels or the number of cells across the height of the bitmap.

PIX_RAD

[$0010] Divide the image into circular cells, centered around ptCenter. If this flag is used, the uCellWidth value determines the angular component of the cell, and uCellHeight 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 the indicate what information is contained in the uCellWidth and uCellHeight parameters:

Value

Meaning

PIX_WFRQ

[$0100] 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

[$0200] 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

[$0400] 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

[$0800] 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.