home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22318 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.4 KB

  1. Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!agate!stanford.edu!unix!css-mac1.sri.com!user
  2. From: mxmora@unix.sri.com (Matthew Xavier Mora)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Copying bitmaps question
  5. Message-ID: <mxmora-270193114939@css-mac1.sri.com>
  6. Date: 27 Jan 93 19:52:32 GMT
  7. References: <garry-270193151707@archmac-167.arch.su.edu.au>
  8. Sender: news@unix.SRI.COM
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: SRI International
  11. Lines: 21
  12.  
  13. In article <garry-270193151707@archmac-167.arch.su.edu.au>,
  14. garry@archsci.arch.su.edu.au (Garry Stevens) wrote:
  15. > I am using CopyBits to copy a large-ish bitmap (40K) for use in printing.
  16. > IM says not to copy more than 3K at a time. How do I do this? If I make a
  17. > single CopyBits call, I get junk all over the output (but no error
  18. > message). If I make several calls to CopyBits, specifying only part of the
  19. > bitmap portrect at a time, I get a stack overflow into heap error (I am
  20. > using Think Pascal). 
  21.  
  22. The 3k limit was fixed long ago. As long as you have enough memory 
  23. for the copy, CopyBits can do it. Double check your CopyBits arguments.
  24.  
  25. Xavier
  26.  
  27.  
  28. --
  29. ----------------------------------------------------------------------
  30. Matthew Xavier Mora                                mxmora@unix.sri.com
  31. SRI International                                       (415) 859-5011
  32. ----------------------------------------------------------------------
  33.