This wiki is out of date, use the continuation of this wiki instead

Graphical infotypes

From FenixWiki

Revision as of 17:16, 2 May 2007 by Sandman (Talk | contribs)
Jump to: navigation, search


Graphical infotypes are used in graphic_info(), to specify what information about a graph is wanted.

Constant - Value - Description
G_WIDTH - 0 - Width in pixels (G_WIDE for versions 0.83 and below).
G_HEIGHT - 1 - Height in pixels.
G_X_CENTER - 2 - X-axis center.
G_Y_CENTER - 3 - Y-axis center.
G_PITCH - 4 - Width in bytes.
G_DEPTH - 5 - Color depth in bits per pixel.
G_FRAMES - 6 - Number of frames. (From a certain Fenix version and up)
G_ANIMATION_STEP - 7 - Current frame in animation. (From a certain Fenix version and up)
G_ANIMATION_STEPS - 8 - Number of frames in animation. (From a certain Fenix version and up)
G_ANIMATION_SPEED - 9 - Current speed of animation. (From a certain Fenix version and up)
Personal tools