[mcclim-devel] postscript streams
Christophe Rhodes
csr21 at cam.ac.uk
Thu Jul 28 11:28:41 UTC 2005
Hi,
Does it make sense to consider a request to include
updating-output-stream-mixin in the superclasses of postscript-stream
(in Backends/Postscript/class.lisp)? We have an application which
uses updating-output for incremental redisplay, but we would also like
to be able to use the same drawing functions (and the same drawing
logic, more importantly) without having to implement it twice, once
for updating-output streams and once for postscript streams.
The below makes sense in our use case. (The alternative of creating a
graphical output record and then replaying it on the postscript stream
is unattractive because we have a use case with no graphical output at
all)
Cheers,
Christophe
Index: Backends/PostScript/class.lisp
===================================================================
RCS file: /project/mcclim/cvsroot/mcclim/Backends/PostScript/class.lisp,v
retrieving revision 1.6
diff -u -r1.6 class.lisp
--- Backends/PostScript/class.lisp 4 Jul 2002 06:57:43 -0000 1.6
+++ Backends/PostScript/class.lisp 28 Jul 2005 11:31:01 -0000
@@ -60,6 +60,7 @@
permanent-medium-sheet-output-mixin
sheet-mute-repainting-mixin
mirrored-sheet-mixin ; ?
+ climi::updating-output-stream-mixin ; ??
standard-extended-output-stream
standard-output-recording-stream)
((file-stream :initarg :file-stream :reader postscript-stream-file-stream)
More information about the mcclim-devel
mailing list