Graphic_Set
Last Modified: May 23, 2005 20:05PM
|
|
| (Any)
|
Description
GRAPHIC_SET ( INT LIBRARY, INT GRAPH, INT TYPE, INT VALUE )
This command allows you to change an attribute of a graph
PARAMETERS:
INT library: Number of FPG library
INT graph: Number of graph inside the library
INT value: New value to assign to the attribute
INT type: Type of attribute to modify. It can be:
G_CENTER_X: Horizontal coordinate of the centre
G_CENTER_Y: Vertical coordinate of the centre
G_ANIMATION_STEP: Current frame of the animation
G_ANIMATION_SPEED: Current speed of the animation
DESCRIPTION:
This function allows access in runtime to the determined attributes of a graph, those specially of its animation. It can be used to select a certain frame in animated graphs, or change the speed of its animation, in milliseconds. For example, a speed of 0 stops the animation of the graphic.
The animations of the MAP graphs are automatic, and independent of the frames per second established by the function Set_Fps.
|
User Contributed Notes Graphic_Set |
|
| There are no user contributed notes for this page. |
| Last updated: Tue, 24 May 2005 - 21:23:54 |
|
|