VCLib Documentation  6.12.2

Pixel/Address Lists

Pixel lists store a sequence of pixel posititons in memory. Since the count of stored pixels is not provided, one must always pass the pixel count to processing functions. For example, contour code can be converted into such a pixel list by the function ccxy() allowing to do some statistics on that data. The structure is as follows:

PL Address (I32*) Content
pXY + 0 X Coordinate of First Pixel.
pXY + 1 Y Coordinate of First Pixel.
pXY + 2 X Coordinate of Second Pixel.
pXY + 3 Y Coordinate of Second Pixel.
... ...

Address Lists are much like pixel lists, they also do not provide the address count, hence it must be passed as parameter. For example, they are used between a shape defining function, like frame() and the pixel drawing function, like FL_wpset_U8(). The structure is as follows:

AL Address (Various*) Content
pAL + 0 First Address Pointer.
pAL + 1 Second Address Pointer.
pAL + 2 Third Address Pointer.
... ...