- This wiki is out of date, use the continuation of this wiki instead
Size y
From FenixWiki
(Difference between revisions)
Revision as of 13:04, 14 November 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 19:38, 14 November 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 2: | Line 2: | ||
[[category:predefined]] | [[category:predefined]] | ||
[[category:local variables]] | [[category:local variables]] | ||
+ | |||
+ | [[Local variables|'''Up to Local Variables''']] | ||
+ | |||
+ | ---- | ||
+ | |||
== Definition == | == Definition == |
Revision as of 19:38, 14 November 2007
Definition
INT size_y
Size_y is a predefined local variable that can be used to stretch or compress a graphic along its vertical axis. It is measured in pixels.
Notes
See also size_x.
Example
To make the graphic of a process continually stretch vertically:
Process stretch_graphic() Begin graph = load_png("image.png"); //load the graphic and assign it to the graph variable x = 100; //Position the graphic 100 pixels y = 100; //from the top and left of the screen Loop size_y += 1; //increase the height of the graphic by 1 pixel each frame. frame; End End
Local variables | |
• Angle • Bigbro • Father • File • Flags • Graph • Id • Region • Reserved • Resolution • Size • Size_x • Size_y • Smallbro • Son • X • Y • Z • |