Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!rpi!uupsi!sunic!kth.se!cyklop.nada.kth.se!news From: d88-jwa@byse.nada.kth.se (Jon W{tte) Newsgroups: comp.sys.mac.programmer Subject: Re: Novice Questions: (Quick Draw). Message-ID: Date: 26 May 91 19:29:26 GMT References: <9768@cg-atla.UUCP> Sender: news@nada.kth.se (Mr News) Distribution: comp Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 33 In-reply-to: kincaid@cg-atla.UUCP's message of 22 May 91 16:27:02 GMT In article <9768@cg-atla.UUCP> kincaid@cg-atla.UUCP (Tom Kincaid ) writes: From: kincaid@cg-atla.UUCP (Tom Kincaid ) In looking through the QuickDraw documentation in Inside Mac. Volume I, there does not seem to be a plot point primitive. The obvious, intuitive way of doing this is: MoveTo ( x , y ) ; Line ( 0 , 0 ) ; Welcome to the wonderful world of mac programming ! If I wanted to draw a spline or a Bezier what would be considered the best way to do this? A series of lineto's, should I manipulate the grafport's bits directly? Manipulating bits directly really isn't worth the botherm since you have to take clipping, multiple screens, 32-bit access switching, graphics accelerators and about 10,000 other things into account. You could define your own BitMap and draw into that, and then CopyBits onto the screen, for speed, or just MoveTo and Line for convenience. If you're new to the mac, you should get the UseNet Macintosh Programmer's Guide, available from all respectable ftp sites. -- Jon W{tte h+@nada.kth.se - Power !