Thread View: comp.os.ms-windows.programmer.misc
2 messages
2 total messages
Started by Edward Reiss
Wed, 27 Jan 1993 06:10
Placing text in a stretched bitmat
Author: Edward Reiss
Date: Wed, 27 Jan 1993 06:10
Date: Wed, 27 Jan 1993 06:10
12 lines
927 bytes
927 bytes
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? Thanks, Ed ereiss@ocf.berkeley.edu ereiss@cory.berkeley.edu
Re: Placing text in a stretched bitmat
Author: Tom W. Brown
Date: Thu, 28 Jan 1993 00:34
Date: Thu, 28 Jan 1993 00:34
23 lines
1694 bytes
1694 bytes
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 ----------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads