Unit 'cybergraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

FillPixelArray

fill a rectangular area with the supplied ARGB

Declaration

Source position: cybergraphics.pas line 226

function FillPixelArray(

  rp: PRastPort;

  destx: Word;

  desty: Word;

  width: Word;

  height: Word;

  pixel: LongWord

):LongWord;

Arguments

destx

  

X starting point in the RastPort

desty

  

Y starting point in the RastPort

Function result

Count will be set to the number of pixels plotted

Description

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.

Errors

The returned count value is wrong up to and including v41 of the cybergraphics.library

See also

InvertPixelArray

  

Invert a rectangular area


Documentation generated on: 2021-07-30