ychen@metasoft.UUCP (Yongdeng Chen) (06/28/90)
With wide line, the lines do not joint correctly when
draw a rectangle with XDrawRectangle().
My server is MIT X11R4 with patches up to 11 on sun3/50
running sunOs 4.0.3.
This is the code sequence:
XSetLineAttributes(dpy, gc, 16, LineSolid, CapButt, JoinMiter);
XDrawRectangle(dpy, win, gc, 10, 10, 150, 150);
NOTE: JoinRound gives the right result, but JoinBevel does NOT give
the right result.
ychen%metasoft@bbn.com
--
===Yongdeng==========Chen=========================================
Meta Software Corporation ychen%metasoft@bbn.com
150 Cambridge Park Drive
Cambridge, MA 02140 (617) 576 - 6920