- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am having (wx1,wy1)(wx2,wy2)(wx3,wy3)(wx4,wy4)Actually they are the coordinates of the square. I have these statements like
call moveto_w(wx1,wy1,wxy)
status = lineto_w(wx1,wy1)
call moveto_w(wx2,wy2,wxy)
status = lineto_w(wx2,wy2)
call moveto_w(wx3,wy3,wxy)
status = lineto_w(wx3,wy3)
call moveto_w(wx4,wy4,wxy)
status = lineto_w(wx4,wy4)
Now, how do I draw the lines and make a square.
????
I am having (wx1,wy1)(wx2,wy2)(wx3,wy3)(wx4,wy4)Actually they are the coordinates of the square. I have these statements like
call moveto_w(wx1,wy1,wxy)
status = lineto_w(wx1,wy1)
call moveto_w(wx2,wy2,wxy)
status = lineto_w(wx2,wy2)
call moveto_w(wx3,wy3,wxy)
status = lineto_w(wx3,wy3)
call moveto_w(wx4,wy4,wxy)
status = lineto_w(wx4,wy4)
Now, how do I draw the lines and make a square.
????
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MoveTo+LineTo draw a line together. Further, if MoveTo is absent, LineTo draws a line to the given point from the point where the last LineTo ended.
You're trying to draw four zero-sized lines. If you remove all MoveTo's except the first, and the first LineTo, it should be OK.
Jugoslav
You're trying to draw four zero-sized lines. If you remove all MoveTo's except the first, and the first LineTo, it should be OK.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jugo,
Thankyou, Now I am able to draw the lines.
ssv
Thankyou, Now I am able to draw the lines.
ssv

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page