[comp.windows.x] drawing fat lines

marshall@software.ORG (Eric Marshall) (09/28/87)

	What is the easiest way to draw fat lines? From the
documentation, it seems like it could be done using XLine(),
with the brush height and width set accordingly, i.e. for a line
5 pixels wide, the height and width would be 5. This does not
work though (I have tried this on both a Sun and an Apollo).
I am apparently missing something very obvious. What is it? Thanks
in advance.


Eric Marshall
Software Productivity Consortium
1880 Campus Commons Drive, North
Reston, VA 22091
(703) 391-1838

CSNET: marshall@software.org
ARPANET: marshall%software.org@relay.cs.net  OR
         @relay.cs.net:marshall@software.org

jg@jumbo.dec.com (Jim Gettys) (10/01/87)

I presume you are talking about X V10.  

Many version 10 implementations were quite incomplete; wide lines were
often not implemented.  This was particularly true
of the Sun implementation, but I don't remember in the case of the
Apollo implementation.  See the manual pages for the implementations for
restrictions.

V11 comes with a complete set of graphics code, and wide lines should work
properly on any of the existing implementations.
					Jim Gettys