home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!sol.ctr.columbia.edu!emory!ogicse!reed!bowman
- From: bowman@reed.edu (BoBolicious)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Help with Bitmaps
- Message-ID: <1993Jan9.000421.29798@reed.edu>
- Date: 9 Jan 93 00:04:21 GMT
- Article-I.D.: reed.1993Jan9.000421.29798
- References: <104096@netnews.upenn.edu>
- Organization: Reed College, Portland, OR
- Lines: 18
-
- In article <104096@netnews.upenn.edu> patchen@eniac.seas.upenn.edu (Michael Patchen) writes:
- >I am programming in Pascal and I have a BITMAP and I need to coerce the bitmap
- >into a PICTURE (via a pichandle, etc. ) which can be put in the clipboard and
- >then brought into a word processing document, for instance.
-
- Set or Open a port of the appropriate size,
- OpenPicture
- ClipRect to the appropriate size
- CopyBits into the port
- ClosePicture
-
- This may not be the fastest way to do it, but it's probably the safest.
-
- cheers,
- bobo In seeking the unattainable,
- bowman@reed.edu simplicity only gets in the way.
- "On Monday, numbers floated everywhere, and the world was full of
- approximations." -- Spencer Heinz, _The Oregonian_, 1/5/93
-