home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7148 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
  2. MIME-Version: 1.0
  3. Subject: Re: BitMap problem
  4. References: <4kfesg$sqe@sinsen.sn.no>
  5. Content-Type: text/plain; charset=us-ascii
  6. Content-Transfer-Encoding: 7bit
  7. Path: imada.ou.dk!breese
  8. From: breese@imada.ou.dk (Bjorn Reese)
  9. Message-ID: <1996Apr10.104208.28803@imada.ou.dk>
  10. Sender: news@imada.ou.dk
  11. Nntp-Posting-Host: gounod.imada.ou.dk
  12. Organization: Dept. of Math. & Computer Science, Odense University, Denmark
  13. Date: Wed, 10 Apr 1996 10:42:08 GMT
  14. Newsgroups: comp.sys.amiga.programmer
  15.  
  16. Ilan Sharoni wrote:
  17. >  I AllocBitMap(), link it to a RastPort, Text() a string to the
  18. > bitmap (should dump it to the printer latter), FreeBitMap() it,
  19.  
  20. You must remove the link in the RastPort before freeing the bitmap.
  21.  
  22. > p.s.  How do I create a custom ColorMap ?
  23.  
  24. Allocate it with the proper function (forgot its name, but it's
  25. probably called AllocColorMap() or similar). Then set the colours
  26. with SetCM32().
  27.  
  28. -- 
  29. Bjorn Reese                      Email: breese@imada.ou.dk
  30. Odense University, Denmark       URL:   http://www.imada.ou.dk/~breese
  31.  
  32. "It's getting late in the game to show any pride or shame" - Marillion
  33.