Writes a pixel to a specified location
Source position: cybergraphics.pas line 167
function WriteRGBPixel( |
Rp: PRastPort; |
X: LongInt; |
Y: LongInt; |
Pixel: LongWord |
):LongInt; |
X |
|
X coordinate of the pixel |
Y |
|
Y coordinate of the pixel |
error = 0 if pixel succesfully changed
= -1 if (x,y) is outside the rastport
Write the alpha,red,green and blue 8-bit color component of the given color to a specified x,y location within a certain RastPort
Attention
This function should only be used on screens depths > 8 bits. Use WritePixel on 8 bit screens!
|
Reads a pixel from a specified location |
|
|
Change the pen num of one specific pixel in a specified RastPort. |