[comp.windows.x] XDrawFilled: not quite

garry@batcomputer.tn.cornell.edu (Garry Wiegand) (11/05/87)

I'm running XV10R4 on Ultrix VAX/GPX's.  When I call XDrawFilled to
fill a polygon on the screen, it doesn't quite do it - up to one
full pixel of width/height may be missing. For example, if I draw
an array of squares that share edges, the rightmost column and topmost and 
bottommost rows of each square will not be filled in, although the 
leftmost will be.

The net result is one-pixel-wide gaps will be left horizontally between
the squares. 

Is filling-not-quite-to-the-edge a bug or a feature? As a work-around,
I'm explicitly calling XDraw after XDrawFilled to fill the last pixel.
Unfortunately, this doesn't give the desired effect for adjacent patterned 
polygons. (I know I could use XPixSet, which works, for squares. I'm
more interested in the general case.)

Can I anticipate that this difficulty will be fixed in X 11, or should I 
attempt to "grow" my polygons by one pixel all the way around?

garry wiegand   (garry@oak.cadif.cornell.edu - ARPA)
		(garry@crnlthry - BITNET)