home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 13023 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.4 KB

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