Reads a pixel from a specified location
Source position: cybergraphics.pas line 236
function ReadRGBPixel( |
a1arg: pRastPort; |
x: Word; |
y: Word |
):LongWord; |
a1arg |
|
pointer to a RastPort structure |
x |
|
the x coordinate of the pixel |
y |
|
the y coordinate of the pixel |
the desired color in AARRGGBB format. Every component allocates 8 bits in the returned longword.
Read the alpha,red,green and blue 8-bit color components of the pixel at a specified x,y location within a certain RastPort
Attention
This function should only be used on screens depths > 8 bits. Use ReadPixel() on 8 bit screens!
|
Writes a pixel to a specified location |
|
|
read the pen number value of the pixel at a specified x,y location within a certain RastPort. |