home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1458 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.5 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: GDI: Drawing a dotted line
  5. Message-ID: <596@lax.lax.pe-nelson.com>
  6. Date: 23 Aug 92 21:24:52 GMT
  7. References: <70550002@hpcc01.corp.hp.com>
  8. Sender: news@lax.pe-nelson.com
  9. Organization: PE-Nelson
  10. Lines: 22
  11.  
  12. In article <70550002@hpcc01.corp.hp.com>, azarian@hpcc01.corp.hp.com (Randy Azarian) writes:
  13. |> I want to draw a line with alternating pixels; in other words, a dotted line.
  14. |> CreatePen provides a number of patterns that I am able to use, however what
  15. |> they call PS_DOT alternates about every two or three pixels, but not what I
  16. |> want, which is to alternate *every* pixel.
  17. |> 
  18.  
  19. I sympathize with this, I've noticed some truly ugly dotted lines with
  20. certain drivers.  Therein, I think, lies the problem -- it is the driver (video
  21. or printer) that determines what a dotted line looks like.  You certainly
  22. wouldn't want a dotted line that simply alternated pixels on a 400dpi laser
  23. printer, would you?
  24.  
  25. I do wish that MS Windows had the capability to specify a dash style a la
  26. X Windows (in logical units, of course).
  27.  
  28.  
  29. ----------------------------------------------------------------------------
  30. Tom Brown               |  "Strange women, laying in ponds, distributing
  31. PE Nelson Systems       |   swords is no basis for a system of government."
  32. twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
  33. ----------------------------------------------------------------------------
  34.