[comp.windows.x] Graphic functions questions

yvw@gs3.UUCP (03/02/89)

Sorry, this may be a rather ridiculous question. 
I'm using X11.R3 via CLX. I started to port a graphical interface from
Symbolics LM's to SUN 3 with Lucid Common Lisp 3.0. The stupid thing I
can't figure out is how to draw filled objects (rectangle, arcs...)
with a black (sometimes wide) border. I'm sure I don't handle the
tile/stipple patterns and the graphic modes right, perhaps someone
could me give some short introduction (example).

		Thanks in advance	---	Yvo Van Wezemael

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (03/02/89)

    The stupid thing I
    can't figure out is how to draw filled objects (rectangle, arcs...)
    with a black (sometimes wide) border.

If you mean what others have meant, you can't exactly do this.  There
is no request that will both fill an object and outline it.  You'll have
to do this in two separate requests (e.g. use draw-rectangle with fill-p
both NIL and non-NIL).  This may not get you the semantics you want, since
the outline will overlap the fill (see the semantics of lines vs filling).