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: GDI: Drawing a dotted line
- Message-ID: <596@lax.lax.pe-nelson.com>
- Date: 23 Aug 92 21:24:52 GMT
- References: <70550002@hpcc01.corp.hp.com>
- Sender: news@lax.pe-nelson.com
- Organization: PE-Nelson
- Lines: 22
-
- In article <70550002@hpcc01.corp.hp.com>, azarian@hpcc01.corp.hp.com (Randy Azarian) writes:
- |> I want to draw a line with alternating pixels; in other words, a dotted line.
- |> CreatePen provides a number of patterns that I am able to use, however what
- |> they call PS_DOT alternates about every two or three pixels, but not what I
- |> want, which is to alternate *every* pixel.
- |>
-
- I sympathize with this, I've noticed some truly ugly dotted lines with
- certain drivers. Therein, I think, lies the problem -- it is the driver (video
- or printer) that determines what a dotted line looks like. You certainly
- wouldn't want a dotted line that simply alternated pixels on a 400dpi laser
- printer, would you?
-
- I do wish that MS Windows had the capability to specify a dash style a la
- X Windows (in logical units, of course).
-
-
- ----------------------------------------------------------------------------
- Tom Brown | "Strange women, laying in ponds, distributing
- PE Nelson Systems | swords is no basis for a system of government."
- twbrown@pe-nelson.com | Monty Python and the Holy Grail
- ----------------------------------------------------------------------------
-