- This wiki is out of date, use the continuation of this wiki instead
Draw box
From FenixWiki
(Difference between revisions)
Revision as of 00:17, 20 November 2007 (edit) Sandman (Talk | contribs) (New page: Category:functions Category:drawing ==Definition== '''INT''' draw_box ( <'''INT''' x0> , <'''INT''' y0> , <'''INT''' x1> , <'''INT''' y1> ) Draws a filled rectangle with corners ...) ← Previous diff |
Current revision (00:22, 20 November 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
Line 5: | Line 5: | ||
'''INT''' draw_box ( <'''INT''' x0> , <'''INT''' y0> , <'''INT''' x1> , <'''INT''' y1> ) | '''INT''' draw_box ( <'''INT''' x0> , <'''INT''' y0> , <'''INT''' x1> , <'''INT''' y1> ) | ||
- | Draws a filled rectangle with corners (x0,y0), (x0,y1), (x1,y0) and (x1,y1). | + | Draws a filled rectangle with corners ''(x0,y0)'', ''(x0,y1)'', ''(x1,y0)'' and ''(x1,y1)''. |
== Parameters == | == Parameters == |
Current revision
[edit] Definition
INT draw_box ( <INT x0> , <INT y0> , <INT x1> , <INT y1> )
Draws a filled rectangle with corners (x0,y0), (x0,y1), (x1,y0) and (x1,y1).
[edit] Parameters
INT x0 | - The x coordinate of one corner of the filled rectangle. |
INT y0 | - The y coordinate of one corner of the filled rectangle. |
INT x1 | - The x coordinate of the diagonally opposite corner of the filled rectangle. |
INT y1 | - The y coordinate of the diagonally opposite corner of the filled rectangle. |
[edit] Returns
INT : DrawID
-1 | - Error. |
1 | - If drawn after drawing_map(). |
!-1&&!1 | - The DrawID of the drawing created. |
Drawing Functions | |
• Delete_draw() • Draw_box() • Draw_circle() • Draw_curve() • Draw_fcircle() • Draw_line() • Draw_rect() • Drawing_alpha() • Drawing_color() • Drawing_map() • Drawing_stipple() • Drawing_z() • Move_draw() • |