Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!h.gp.cs.cmu.edu!egc From: egc@h.gp.cs.cmu.edu (eddie caplan) Newsgroups: comp.windows.x Subject: X11 fenceposts Message-ID: <3595@pt.cs.cmu.edu> Date: 16 Nov 88 18:28:21 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 17 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) while XFillRectangle(display, drawable, gc, x, y, w, h) fills a rectangle defined by the coordinates (x,y) (x+w-1,y) (x+w-1,y+h-1) (x,y+h-1) the manual (Xlib - C Library, pp 83 and 86) say that both functions should be behaving in the first manner. they aren't. in addition, my programming religion tells me that they *should* both be behaving in the second manner anyway. how do other devices' servers handle these functions? is this more consistent under X11R3? --