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

ProcessPixelArray

Applies one of a variety of transformations to a rectangular portion of a RastPort.

Declaration

Source position: cybergraphics.pas line 325

procedure ProcessPixelArray(

  rastPort: PRastPort;

  destX: LongWord;

  destY: LongWord;

  sizeX: LongWord;

  sizeY: LongWord;

  operation: LongWord;

  value: LongInt;

  taglist: PTagItem

);

Arguments

rastPort

  

the RastPort to process.

destX

  

Left corner of portion of RastPort to process.

destY

  

Top corner of portion of RastPort to process.

sizeX

  

Width of the affected area.

sizeY

  

Height of the affected area.

operation

  

one of the following transformation types: POP_TINT, POP_BLUR, POP_BRIGHTEN, POP_DARKEN, POP_SETALPHA, POP_GRADIENT

value

  

see description of operation input.

taglist

  

currently describes gradient parameters

Description

Available Tags

PPAOPTAG_GRADIENTTYPE
GRADTYPE_HORIZONTAL or GRADTYPE_VERTICAL
PPAOPTAG_GRADCOLOR1
The starting color of the gradient (ARGB32).
PPAOPTAG_GRADCOLOR2
The ending color of the gradient (ARGB32).
PPAOPTAG_GRADFULLSCALE
PPAOPTAG_GRADOFFSET

Documentation generated on: 2021-07-30