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 2149
procedure WriteChunkyPixels( |
Rp: PRastPort; |
XStart: LongWord; |
YStart: LongWord; |
XStop: LongWord; |
YStop: LongWord; |
Array1: PByte; |
BytesPerRow: LongInt |
); |
Rp |
|
Destination RastPort |
XStart |
|
Starting x Point |
YStart |
|
Starting y Point |
XStop |
|
Stop X Point |
YStop |
|
Stop Y Point |
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. |