Path: utzoo!attcan!uunet!convex!killer!ames!ncar!boulder!stan!garya From: garya@stan.com (Gary Aitken) Newsgroups: comp.windows.x Subject: Re: X11 fenceposts Message-ID: <280@stan.com> Date: 17 Nov 88 21:48:15 GMT References: <3595@pt.cs.cmu.edu> Organization: Solbourne Computer Inc., Longmont, Co. Lines: 15 In article <3595@pt.cs.cmu.edu>, egc@h.gp.cs.cmu.edu (eddie caplan) writes: > under X11R2 on a (black and white) microvax 2: > > XDrawRectangle(display, drawable, gc, x, y, w, h) draws a rectangle defined > by the coordinates (x,y) (x+w,y) (x+w,y+h) (x,y+h) > > -- We looked at this and rationalized the draw rectangle as drawing a rectangle with a zero width line, centered in the middle of the actual pixels. The rectangle (stuff inside the 0 width line) is then of the desired size. Don't know if that's a proper interpretation or not, though. Gary Aitken ncar!boulder!stan!garya