[comp.windows.x] line width 0, line style problems

envbvs@epb7.lbl.gov (Brian V. Smith) (06/22/91)

In trying to get LineOnOffDash to work, I stumbled across the fact
that, at least using the Xqdss and Xqvss servers for Vaxstations,
if the linewidth is zero (0), the server was either ignoring the
dashed line style or using only the first one I set using XSetDashes.
When I used linewidth 1 (or more), then everything worked fine.

Is the server free to ignore such things as line style for zero-width
lines?  I know it is supposed to use the "fastest algorithm" for drawing
lines, but that seems excessive.

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.

envbvs@epb7.lbl.gov (Brian V. Smith) (06/29/91)

This is a re-post since I got no answer the first time:

In trying to get LineOnOffDash to work, I stumbled across the fact
that, at least using the Xqdss and Xqvss servers for Vaxstations,
if the linewidth is zero (0), the server was either ignoring the
dashed line style or using only the first one I set using XSetDashes.
When I used linewidth 1 (or more), then everything worked fine.

Is the server free to ignore such things as line style for zero-width
lines?  I know it is supposed to use the "fastest algorithm" for drawing
lines, but that seems excessive.

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.