home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5395 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.6 KB

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