CLIM mail archive
[Prev][Next][Index][Thread]
CLIM clipping to postscript stream doesn`t work
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)))))
Follow-Ups:
Main Index |
Thread Index