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

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 2209

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