fill a rectangular area with the supplied ARGB
Source position: cybergraphics.pas line 305
function FillPixelArray( |
a1arg: PRastPort; |
DestX: Word; |
DestY: Word; |
SizeX: Word; |
SizeY: Word; |
ARGB: LongWord |
):LongWord; |
a1arg |
|
Pointer to a RastPort structure |
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 |
ARGB |
|
the desired color in AARRGGBB format for true color rastports or in indexed mode for CLUT rastports. Every component uses 8 bits in the supplied longword. |
Count will be set to the number of pixels plotted
fill a rectangular area with the supplied ARGB value 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 supplied color value into the bitmap used to describe a particular rastport.
Attention
This function should only be used on screens depths >8 bits in cybergraphics versions prior v41.
The returned count value is wrong up to and including v41 of the cybergraphics.library
|
Invert a rectangular area |