home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22279 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!news.byu.edu!gatech!rpi!batcomputer!munnari.oz.au!metro!archmac-167.arch.su.edu.au!user
  3. From: garry@archsci.arch.su.edu.au (Garry Stevens)
  4. Subject: Copying bitmaps question
  5. Message-ID: <garry-270193151707@archmac-167.arch.su.edu.au>
  6. Followup-To: comp.sys.mac.programmer
  7. Sender: news@ucc.su.OZ.AU
  8. Nntp-Posting-Host: archmac-167.arch.su.edu.au
  9. Organization: Dept Architectural Science, Uni of Sydney
  10. Date: Wed, 27 Jan 1993 04:20:13 GMT
  11. Lines: 17
  12.  
  13. I am using CopyBits to copy a large-ish bitmap (40K) for use in printing.
  14. IM says not to copy more than 3K at a time. How do I do this? If I make a
  15. single CopyBits call, I get junk all over the output (but no error
  16. message). If I make several calls to CopyBits, specifying only part of the
  17. bitmap portrect at a time, I get a stack overflow into heap error (I am
  18. using Think Pascal). 
  19.  
  20. IM implies that the amount you are copying at any time is irrelevant-- the
  21. key parameter is the total size of the original bitmap. I know there must
  22. be a totally obvious way of doing this, but I can't find it.
  23.  
  24. Thanks in advance.
  25.  
  26. Garry Stevens
  27. Dept of Architectural & Design Science
  28. University of Sydney
  29. Australia
  30.