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