Graphic set

From Bennu Wiki
Jump to navigation Jump to search


INT Graphic_set ( <INT fileID> , <INT graphID> , <INT info_type> , <INT value> )

Changes the x or y coordinate of the center pixel (controlpoint 0). This function is also known as Map_info_set().


INT fileID - The file that holds the graph.
INT graphID - The graph to get information from.
INT info_type - What type of information you want to change, see note.
INT value - The new x or y coordinate of the center pixel.


INT : Returns the information you want.
If the specified graph was invalid it returns 0.
If the specified infotype was not recognized it returns 1.


As infotype, only two options are valid:

G_X_CENTER - Change the x coordinate of the center pixel.
G_Y_CENTER - Change the y coordinate of the center pixel.

Maps Functions