Hi,
I'm in the process of attempting to merge our local divergences into mcclim's CVS, and I have a question about one of them (see below): is it reasonable to add updating-output-stream-mixin to the postscript-stream class? Though memory grows dim, I think we use this to allow the same drawing routines (which use updating-output) to draw both to screen and to postscript; we don't actually call incremental-redisplay on a postscript stream.
Thanks,
Christophe
Index: Backends/PostScript/class.lisp =================================================================== RCS file: /project/mcclim/cvsroot/mcclim/Backends/PostScript/class.lisp,v retrieving revision 1.7 diff -u -r1.7 class.lisp --- Backends/PostScript/class.lisp 31 Oct 2005 10:21:14 -0000 1.7 +++ Backends/PostScript/class.lisp 6 Feb 2006 12:30:36 -0000 @@ -61,6 +61,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)
Christophe Rhodes wrote:
Hi,
I'm in the process of attempting to merge our local divergences into mcclim's CVS, and I have a question about one of them (see below): is it reasonable to add updating-output-stream-mixin to the postscript-stream class? Though memory grows dim, I think we use this to allow the same drawing routines (which use updating-output) to draw both to screen and to postscript; we don't actually call incremental-redisplay on a postscript stream.
I agree with this change. If you wanted to be more ambitious and make updating-output-stream-mixin a super class of standard-output-recording-stream, I'd be quite agreeable to that too.
Tim
Thanks,
Christophe
Index: Backends/PostScript/class.lisp
RCS file: /project/mcclim/cvsroot/mcclim/Backends/PostScript/class.lisp,v retrieving revision 1.7 diff -u -r1.7 class.lisp --- Backends/PostScript/class.lisp 31 Oct 2005 10:21:14 -0000 1.7 +++ Backends/PostScript/class.lisp 6 Feb 2006 12:30:36 -0000 @@ -61,6 +61,7 @@ permanent-medium-sheet-output-mixin sheet-mute-repainting-mixin mirrored-sheet-mixin ; ?
((file-stream :initarg :file-stream :reader postscript-stream-file-stream)climi::updating-output-stream-mixin ; ?? standard-extended-output-stream standard-output-recording-stream)
mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
Timothy Moore moore@bricoworks.com writes:
I agree with this change. If you wanted to be more ambitious and make updating-output-stream-mixin a super class of standard-output-recording-stream, I'd be quite agreeable to that too.
I decided to be unambitious, and restricted myself to leaving a comment to that effect.
Cheers,
Christophe