Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!think!ames!sdcsvax!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: where is SetDrPt ? Why SetA/BPen() are not macros. Message-ID: <8709160238.AA27229@cory.Berkeley.EDU> Date: Tue, 15-Sep-87 22:38:01 EDT Article-I.D.: cory.8709160238.AA27229 Posted: Tue Sep 15 22:38:01 1987 Date-Received: Fri, 18-Sep-87 04:22:58 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 17 > 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? SetAPen() recalculates the blitter minterms.... kinda hard to do in a macro. (I think, but am not sure, that these minterms are the RPORT->minterms array). Now I have a question.... I can use the RP_User field in the rastport structure for whatever I want, right? When I'm simulating a rastport, is it ok to leave the Layer field NULL? (assume I don't care about clipping). Finally, does the Mask field effect minterm generation? E.G. Should I do a SetAPen() after I change the Mask field? -Matt