Write_In_Map
Last Modified: May 29, 2005 11:05AM
|
|
| (Any)
|
Description
INT WRITE_IN_MAP(INT SOURCE, INT CENTERED, STRING TEXT)
PARAMETERS:
source: Identifier of the font loaded with Load_Fnt.
centred: Code that it indicates like interpreting the point (x, y) with respect to the text to draw.
It can be one of the following values:
0: Left superior corner
1: Superior centre
2: Right superior corner
3: Left centre
4: Centre
5: Right centre
6: Left inferior corner
7: Inferior centre
8: Inferior corner right
text: Text string to draw.
DESCRIPTION:
This function creates a new graph in memory, whose content will be the text indicated in the given font. The size of the graph will be the minimum so that the text fits exactly. The new graph will be able to be used in any place where a graph identifier is used: for it, it must be used as if it belonged to fpg 0. Also by using the function Unload_Map it is possible to unload the graph from memory.
The centre of the graph (control point 0) can adapt according to the parameter of given trim. This allows to use the new graph of way similar to an instruction write, but with the advantages of being able to use the functions more present outposts in flags of the processes or the function Xput.
|
User Contributed Notes Write_In_Map |
|
| There are no user contributed notes for this page. |
| Last updated: Mon, 30 May 2005 - 10:33:02 |
|
|