home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!canterbury.ac.nz!betelgeux!cree
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ClearEOL and SetAPen
- Message-ID: <1992Sep3.172910.636@csc.canterbury.ac.nz>
- From: cree@elec.canterbury.ac.nz (Michael Cree)
- Date: 3 Sep 92 17:29:06 +1200
- References: <65079@cup.portal.com>
- Distribution: world
- Organization: Electrical Engineering, University of Canterbury, New Zealand
- Nntp-Posting-Host: elec.canterbury.ac.nz
- X-Newsreader: Tin 1.1 PL5
- Lines: 20
-
- Lee_Robert_Willis@cup.portal.com wrote:
- :
- : Out of curiousity: _Why_ is SetAPen() slow? What is involved in changing
- : the pen color besides simply storing the new value?
- :
-
- Setting all the minterms (or whatever they are called) in the RastPort
- structure. Basically it caches a whole lot of values it needs to drive the
- the custom hardware. Thus SetAPen() is cpu intensive. It is also why
- just setting the FgPen in the RastPort structure without calling
- SetAPen() fails.
-
- : Lee Lee_Robert_Willis@cup.portal.com
-
- -----------------------------------------------------------------------------
- Michael Cree Gold there is
- cree@elec.canterbury.ac.nz and rubies in abundance;
- But lips that speak knowledge
- are a rare jewel. (Prov 20:15)
- ------------------------------------------------------------------------------
-