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.
Source position: agraphics.pas line 2410
procedure WriteChunkyPixels( |
rp: pRastPort; |
xstart: LongWord; |
ystart: LongWord; |
xstop: LongWord; |
ystop: LongWord; |
array_: PByte; |
bytesperrow: LongInt |
); |
rp |
|
Destination RastPort |
xstart |
|
Starting x Point |
ystart |
|
Starting y Point |
xstop |
|
Stop X Point |
ystop |
|
Stop Y Point |
array_ |
|
Array with pen values |
bytesperrow |
|
The number of bytes per row in the source array. This should be at least as large as the number of pixels being written per line. |
For each pixel in a rectangular region, decode the pen number selector from a linear array of pen numbers into the bit-planes used to describe a particular rastport.
xstop must be >= xstart and ystop must be >= ystart The source array can be in fast RAM.
|
Change the pen num of one specific pixel in a specified RastPort. |