CLIM mail archive
[Prev][Next][Index][Thread]
CLIM clipping to postscript stream doesn`t work
Date: Tue, 19 Jul 1994 16:55-0700
From: Gregory M Anderson <gma@BITTERROOT.apl.washington.edu>
Finally getting back to this:
Here is an example that fails on Genera and Allegro, CLIM2.
(defun draw-sucker ()
(with-open-file (file-stream "test.ps"
:direction :output
:if-exists :new-version)
(let* ((xmin 0) (ymin 0) (xmax 200) (ymax 200)
(clip-region (clim::make-bounding-rectangle xmin ymin xmax ymax)))
(clim::with-output-to-postscript-stream
(stream file-stream)
(clim::draw-rectangle* stream xmin ymin xmax ymax :filled nil)
(clim::draw-line* stream 0 0 500 500
:line-thickness 3
:clipping-region clip-region)))))
This is now fixed in LispWorks. It will eventually make its way back
into Genera and Lucid.
References:
Main Index |
Thread Index