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

Graphical infotypes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:16, 2 May 2007 (edit)
Sandman (Talk | contribs)
m (constantcategories)
← Previous diff
Revision as of 23:56, 3 May 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 3: Line 3:
Graphical infotypes are used in [[graphic_info]](), to specify what information about a graph is wanted. Graphical infotypes are used in [[graphic_info]](), to specify what information about a graph is wanted.
 +== List ==
{| {|
| ''Constant'' || - ''Value'' || - ''Description'' | ''Constant'' || - ''Value'' || - ''Description''

Revision as of 23:56, 3 May 2007


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

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