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

WriteChunkyPixels

Write the pen number value of a rectangular array of pixels starting at a specified x,y location and continuing through to another x,y location within a certain RastPort.

Declaration

Source position: agraphics.pas line 2479

procedure WriteChunkyPixels(

  Rp: PRastPort;

  XStart: LongWord;

  YStart: LongWord;

  XStop: LongWord;

  YStop: LongWord;

  Array_: PByte;

  BytesPerRow: LongInt

);

Arguments

Rp

  

Destination RastPort

XStart

  

Starting x Point

YStart

  

Starting y Point

XStop

  

Stop X Point

YStop

  

Stop Y Point

Array_

  

Array with pen values

BytesPerRow

  

The number of bytes per row in the source array. This should be at least as large as the number of pixels being written per line.

Description

For each pixel in a rectangular region, decode the pen number selector from a linear array of pen numbers into the bit-planes used to describe a particular rastport.

xstop must be >= xstart and ystop must be >= ystart The source array can be in fast RAM.

See also

WritePixel

  

Change the pen num of one specific pixel in a specified RastPort.


Documentation generated on: 2021-07-30