Can people with classic CLIM try this function in a listener (I believe classic CLIM has such a thing) and try (draw-compass *standard-output* 'symbol t) and (draw-compass *standard-output* nil)? I would like to know if the entire compass is visible and if it overlaps other graphics in the output stream.
I don't use a clim listener but I ran the test in an application-pane.
The first case draws a compass with S on top and N at bottom. The second case draws it with N at top and S at bottom. Lines of text around calls appear as expected. Calling draw-compass after outputting some text but no terminating newline results with the compass drawn to the right of that text with the top of the N seemingly aligned with the top of the text string and the left of the W aligned with the end of text. I can try and get more precise alignment of the bounding box if you need that.
Let me know if you really need the test run in a listener. I think there is one in the clim demo directory.
Paul
On Jan 27, 2005, at 1:08 PM, Paul Werkowski wrote:
Can people with classic CLIM try this function in a listener (I believe classic CLIM has such a thing) and try (draw-compass *standard-output* 'symbol t) and (draw-compass *standard-output* nil)? I would like to know if the entire compass is visible and if it overlaps other graphics in the output stream.
I don't use a clim listener but I ran the test in an application-pane.
Thank you very much. I think it's clear that with-room-for-graphics never lets its output extend above and to the left of the initial cursor position. The language in the spec about the placement of (0,0) is more of a minimum guarantee.
Let me know if you really need the test run in a listener. I think there is one in the clim demo directory.
That's not necessary.
Tim