Map info get

From Bennu Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Definition

INT map_info_get ( <INT fileID> , <INT graphID> , <INT infotype> )

Gets some information about the graph specified. This function is also known as Graphic_info() and Map_info().

Parameters

INT fileID - The file that holds the graph.
INT graphID - The graph to get information from.
INT infotype - What type of information you want.

Returns

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.

Example

See Graphic_info() for example.


Maps Functions
Get_pixel()Graphic_info()Graphic_set()Map_block_copy()Map_buffer()Map_clear()Map_clone()Map_del()Map_exists()Map_get_pixel()Map_info()Map_info_get()Map_info_set()Map_load()Map_name()Map_new()Map_put()Map_put_pixel()Map_save()Map_set_name()Map_unload()Map_xput()Map_xputnp()Pcx_load()Png_load()Png_save()Point_get()Point_set()Put_pixel()