Fenix Manual
Fenix Manual
Command Reference
Map Commands

Get_Point
Graphic_Info
Graphic_Set
Load_Map
Load_Pcx
Load_Png
Map_Block_Copy
Map_Clear
Map_Clone
Map_Exists
Map_Get_Pixel
Map_Name
Map_Put
Map_Put_Pixel
Map_Set_Name
New_Map
Save_Map
Save_Png
Set_Center
Set_Point
Unload_Map

Map_Clear
Last Modified: May 23, 2005 20:05PM
(Any)
Description

MAP_CLEAR ( INT LIBRARY, INT GRAPH, INT COLOUR )
It clears the content of a graph

PARAMETERS:
INT library: Number of the FPG library
INT graph: Number of the graph inside the library
INT colour: Number of colour

DESCRIPTION:
It cleans the content of a graph, establishing all pixels to the colour indicated.

The mean of the colour parameter depends on the colour depth of the graph. For a graph of 8 bits, represents a colour number of 0 to 255. For a graph of 16 bits, it is a number of 0 to 65535 that can change in the function of graph mode. You can use the function RGB to obtain the codification of a colour determined by its components.

In all cases, the colour 0 represents a transparent pixel, in both 8 or in 16 bit modes.

User Contributed Notes
Map_Clear
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Mon, 30 May 2005 - 10:32:58

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters