Map_Put_Pixel
Last Modified: May 23, 2005 20:05PM
|
|
| (Any)
|
Description
MAP_PUT_PIXEL ( INT LIBRARY, INT GRAPH, INT X, INT Y, INT COLOUR )
It changes the value of a pixel of a graph
PARAMETERS:
INT library: Number of FPG library
INT graph: Number of graph inside the library
INT x: Horizontal coordinate
INT y: Vertical coordinate
INT colour: Colour to draw
DESCRIPTION:
This function allows you to change the colour of a pixel determined inside of a graph. The point (0, 0) represents the top left corner of the graph.
In case of graph of 256 colours (8 bits), the value of colour must be a number of 0 to 255. In the opposite case, this value is a combination of the components of the colour that depends on the video card and the graph mode.
It is normal to use the function RGB to obtain the combination of a certain colour, or use a colour obtained by a function like Map_Get_Pixel. The colour 0, in both mode graphs, represents a transparent pixel.
|
User Contributed Notes Map_Put_Pixel |
|
| There are no user contributed notes for this page. |
| Last updated: Fri, 27 May 2005 - 6:21:30 |
|
|