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

FillPixelArray

fill a rectangular area with the supplied ARGB

Declaration

Source position: cybergraphics.pas line 173

function FillPixelArray(

  Rp: PRastPort;

  DestX: LongInt;

  DestY: LongInt;

  Width: LongWord;

  Height: LongWord;

  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