Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!psuvax1!vu-vlsi!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga Subject: Re: where is SetDrPt ? Message-ID: <2342@cbmvax.UUCP> Date: Tue, 15-Sep-87 09:54:53 EDT Article-I.D.: cbmvax.2342 Posted: Tue Sep 15 09:54:53 1987 Date-Received: Thu, 17-Sep-87 06:36:31 EDT References: <2334@batcomputer.tn.cornell.edu> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Distribution: comp Organization: Commodore Technology, West Chester, PA Lines: 30 Keywords: SetDrPt 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'. SetDrPt is a macro, found in the file gfxmacros.h. (its defined as {(w)->LinePtrn = p;(w)->Flags |= FRST_DOT;(w)->linpatcnt=15;} but it would be a good thing if you just included gfxmacros.h, rather than just define it in your code. When you include gfxmacros.h you also pick up our friends SetOPen, SetWrMsk, and SetAfPt) >This function is suppossed to >set the line drawing pattern, so you can draw dotted or dashed (or >solid) lines. When I use this function in a program and link with >amiga.lib (Kickstart 1.2G) the linker can't find the function in >the library. I'd upgrade to release V1.2 if I were you. While the changes between Gamma-1 and release were not great, there were changes. one of which might bite you someday :-( -- andy finkel {ihnp4|seismo|allegra}!cbmvax!andy Commodore-Amiga, Inc. "Interfere? Of course we'll interfere. Always do what you're best at, I always say." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.