[futurebasic] Re: [FB] Toolbox line drawing

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2004 : Group Archive : Group : All Groups

From: Paul Bruneau <paul_bruneau@...>
Date: Wed, 18 Aug 2004 11:16:57 -0500
On Aug 18, 2004, at 9:47 AM, Richard Goodman wrote:

> Here's another elementary question:
>
> What is the difference between the toolbox procedures: CALL LINE and  
> CALL
> LINETO? I don't see how they are different.

http://developer.apple.com/documentation/Carbon/Reference/ 
QuickDraw_Ref/qdref_main/function_group_28.html

LINE draws a line a relative distance from the current point

LINETO draws a line to a specific coordinate from the current point

If you want to draw a line that goes x pixels to the right of the  
current location, use LINE

If you want to draw a line to coordinate 50,50 from the current  
location, use LINETO