Unit 'CYBERGRAPHICS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

InvertPixelArray

Invert a rectangular area

Declaration

Source position: cybergraphics.pas line 309

function InvertPixelArray(

  a1arg: PRastPort;

  DestX: Word;

  DestY: Word;

  SizeX: Word;

  SizeY: Word

):LongWord;

Arguments

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

Function result

count will be set to the number of pixels plotted

Description

Invert each pixel in a rectangular region.

Attention

This function should only be used on screens depths > 8 bits with cybergraphics versions prior v41.

Errors

The count value returned is totally wrong.

See also

FillPixelArray

  

fill a rectangular area with the supplied ARGB


Documentation generated on: 2021-07-30