home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!lax.pe-nelson.com!lax!twbrown
- From: twbrown@PE-Nelson.COM (Tom W. Brown)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Placing text in a stretched bitmat
- Message-ID: <755@lax.lax.pe-nelson.com>
- Date: 28 Jan 93 00:34:00 GMT
- References: <1k590h$3d3@agate.berkeley.edu>
- Sender: news@lax.pe-nelson.com
- Organization: PE-Nelson
- Lines: 25
-
- In article <1k590h$3d3@agate.berkeley.edu>, ereiss@ocf.berkeley.edu (Edward Reiss) writes:
- |> This question is for a friend. He has been unable to place text
- |> into a stretched bitmat (after it has been stretched). To be more
- |> specific, he is using the function "stretchblt()" to stretch a
- |> bitmap. He then wants to use "textout()" on the destination device
- |> context. He *can* place the text into the bitmap before it is
- |> stretched, but then the stretching distorts the text. Any suggestions?
-
- There must be some other problem because there is nothing magical about
- StretchBlt(). Like PatBlt(), BitBlt(), LineTo(), and all other GDI
- functions it simply takes some immediate action upon a device context.
- There is no reason why StretchBlt() would alter a DC to the point where
- subsequent graphics output would not work.
-
- If your friend can supply an appropriate code fragment we might be able
- to see the problem.
-
-
- ----------------------------------------------------------------------------
- Tom Brown | "She turned me into a newt...
- PE Nelson Systems | ... I got better"
- twbrown@pe-nelson.com | Monty Python and the Holy Grail
- ----------------------------------------------------------------------------
-
-
-