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

Graphical infotypes

From FenixWiki

(Redirected from G WIDE)
Jump to: navigation, search


[edit] Definition

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

[edit] List

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