write the color value generated from a given color table (V41)
Source position: cybergraphics.pas line 185
function WriteLUTPixelArray( |
SrcRect: Pointer; |
SrcX: LongInt; |
SrcY: LongInt; |
SrcMod: LongWord; |
Rp: PRastPort; |
CTable: Pointer; |
DestX: LongInt; |
DestY: LongInt; |
SizeX: LongWord; |
SizeY: LongWord; |
CTabFormat: LongWord |
):LongInt; |
SrcRect |
|
Pointer to an array of pixels from which to fetch the CLUT data. Pixels are specified in bytes, 8bits/pixel |
SrcX |
|
X starting point in the source rectangle |
SrcY |
|
Y starting point in the source rectangle |
SrcMod |
|
The number of bytes per row in the source rectangle. |
DestX |
|
X starting point in the RastPort |
DestY |
|
Y starting point in the RastPort |
SizeX |
|
Width of the rectangle that should be transfered |
SizeY |
|
Height of the rectangle that should be transfered |
number of pixels plotted
write the color value generated from a given color table of a rectangular array of pixels starting at a specified x,y location and continuing through to another x,y location within a certain RastPort
For each pixel in a rectangular region, write the color value generated with a given color lookup table from a linear array of indexed pixel values into the bitmap used to describe a particular rastport.
Attention
Does only work on rastports with depth > 8bits
The count value returned is totally wrong.
With cgxsystem.library up to version 41.19, the call returns immediately with CTABFMT_XRGB8 due to a bug in the code
|
Read the color values of a rectangular array |
|
|
write the color value of a rectangular array |
|
|
Write the pen number value of a rectangular array of pixels starting at a specified x,y location and continuing through to another x,y location within a certain RastPort. |