grogers@uiucdcsm.cs.uiuc.edu (10/27/87)
Could some kind soul please explain X11's line styles. In particular,
XSetDashes and how the values in the dash_list control which pixels are
colored. Could you also relate this to the standard hardware line style
register technique where a bit value of 1 means color that pixel with the
current foreground color and a zero bit value means do nothing.
Thanks,
Greg Rogers
University of Illinois at Urbana-Champaign
Department of Computer Science
UUCP: {pur-ee,convex,inhp4}!uiucdcs!grogers
ARPA: grogers@m.cs.uiuc.edu
CSNET: grogers%uiuc@csnet-relayRWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/27/87)
Date: 26 Oct 87 22:06:00 GMT
From: grogers@m.cs.uiuc.edu
Could some kind soul please explain X11's line styles.
Read a PostScript manual (seriously).
In particular,
XSetDashes and how the values in the dash_list control which pixels are
colored. Could you also relate this to the standard hardware line style
register technique where a bit value of 1 means color that pixel with the
current foreground color and a zero bit value means do nothing.
If you view dash_list[i], which let us say has value N, as representing
either N 1 bits or N 0 bits (depending on whether i is even or odd),
then you should get the idea. Your "standard technique" corresponds to
the OnOffDash line-style (at least on axis-aligned lines).