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

InvertPixelArray

Invert a rectangular area

Declaration

Source position: cybergraphics.pas line 172

function InvertPixelArray(

  Rp: PRastPort;

  DestX: LongInt;

  DestY: LongInt;

  Width: LongWord;

  Height: 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

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