Change the pen num of one specific pixel in a specified RastPort.
Source position: agraphics.pas line 2034
function WritePixel( |
Rp: PRastPort; |
X: LongInt; |
Y: LongInt |
):LongInt; |
Rp |
|
A pointer to a RastPort |
X |
|
X coordinate of Pixel |
Y |
|
Y coordinate of Pixel |
0 if pixel succesfully changed = -1 if (x,y) is outside the RastPort
Changes the pen number of the selected pixel in the specified RastPort to that currently specified by PenA, the primary drawing pen. Obeys minterms in RastPort.
|
read the pen number value of the pixel at a specified x,y location within a certain RastPort. |