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

Draw line

From FenixWiki

(Difference between revisions)
Jump to: navigation, search

Sandman (Talk | contribs)
(New page: Category:functions Category:drawing ==Definition== '''INT''' draw_line( <'''INT''' x0> , <'''INT''' y0> , <'''INT''' x1> , <'''INT''' y1> ) Draws a line from point (x0,y0) to poi...)
Next diff →

Revision as of 00:13, 20 November 2007


Definition

INT draw_line( <INT x0> , <INT y0> , <INT x1> , <INT y1> )

Draws a line from point (x0,y0) to point (x1,y1).

Parameters

INT x0 - The x coordinate of one point of the line.
INT y0 - The y coordinate of one point of the line.
INT x1 - The x coordinate of the other point of the line.
INT y1 - The y coordinate of the other point of the line.

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() •
Personal tools