Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!sdcsvax!ucbvax!hplabs!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: where is SetDrPt ? Message-ID: <3954@well.UUCP> Date: Tue, 15-Sep-87 15:01:19 EDT Article-I.D.: well.3954 Posted: Tue Sep 15 15:01:19 1987 Date-Received: Fri, 18-Sep-87 01:19:25 EDT References: <2334@batcomputer.tn.cornell.edu> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Distribution: comp Organization: The United Federation of Planets. Lines: 31 Keywords: SetDrPt Summary: It's a macro in graphics/gfxmacros.h In article <2334@batcomputer.tn.cornell.edu> hsgj@batcomputer.tn.cornell.edu (Dan Green) writes: > >I finally decided to do some graphics-type programming on my Amiga, >and I have run into a little difficulty. I can't seem to find the >Kernel Graphics function 'SetDrPt'. [ ... ] Either: > a) I am terribly confused. > b) The function has a new name from what it was called in > the RKM. > c) The function was never implemented, or was removed by C/A. >Can anyone enlighten me as to which of these is true? > d) It is not a function; it is a #defined macro. Go to the top of your source code and include the line: #include You might want to briefly inspect this file, as there are a number of macros in this file which might otherwise be mistaken for functions. And now a question to the wizards at C-A (this means you, Dale!): Whyzzit that SetDrPt(), SetOPen() et al are macros, but SetAPen() and SetBPen() are real library calls? Further, when I tried turning SetAPen() into a macro many moons ago as an experiment, things broke left and right. What exactly does SetAPen() do that prevents its existence as a macro? _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!ptsfa -\ \_ -_ Bike shrunk by popular demand, dual ---> !{well,unicom}!ewhac O----^o But it's still the only way to fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor