This is a discussion on Is there any Difference within the C and C++ forums, part of the Programming Talk category; Is there any difference between the line() function and the lineto() function in C program.If so can someone enlighten ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
LINE () Function
takes two co-ordinates LINE (x1,y1,x2,y2) .. It draws a line from (x1,y1) to (x2,y2). LINETO () Function Takes one coordinate LINETO(x,y) It draws a line from the current cursor position to the co-ordinate (x,y). Suppose the position of the cursor is (10,10).. and u want to draw a line from (10,10) to (10,100).. then u will use lineto (10,100).. Hope this helps.. Arun |
|
|||
|
Hi,
MOVETO ( ) Function -------------------- It accepts one co-ordinate. moveto(x,y). It just moves the cursor from the current position to another position. For eg, Say the cursor is at (90,20). You want the cursor to be moved to (90,45), then you will use the function moveto ( ) as: MOVETO(90,45). This will move the cursor to (90,45). Arun.... |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| difference between winrunner 7./7.6 | zecar | Software Testing | 1 | 11-13-2006 03:32 AM |
| Linux vs. Windows web Hosting, does it make a difference? | sanereddy | Unix Articles and Tutorials | 7 | 04-23-2006 02:39 PM |
| what is difference between terminal service and remote desktop | techguru | Interview Questions | 1 | 04-17-2006 09:14 AM |
| comp.lang.c Answers to Frequently Asked Questions (FAQ List) | Steve Summit | Tech FAQ | 0 | 06-01-2004 07:00 AM |
| Smalltalk FAQ (v.1.0) | Vikas Malik | Tech FAQ | 0 | 04-17-2004 08:27 AM |