|
From: Harald H. <h.h...@tu...> - 2005-11-11 22:02:22
|
On Fri, 11 Nov 2005, Aapo Lankinen wrote:
> On Wed, 2005-11-09 at 16:13 -0800, Ethan Merritt wrote:
> > Well, in this particular case it is caused by the fact that when
> > post.trm expands its drawing limits, it does not change the values
> > of term->xmax and term->ymax. Therefore if you clip against them,
> > it doesn't work. So far as I know, other terminal drivers
> > correctly report what their actual limiting coordinates are.
>
> What is the exact reason that prevents fixing post.trm (and maybe other
> broken terminals) so that it would correctly update term->xmax and
> term->ymax? I would imagine that it wouldn't be terribly difficult to
> change accordingly the values of these two variables when the postscript
> internal canvas grow. Is it somehow a problem with backward
> compatibility?
The problem is that xmax and ymax are the positions of the screen
coordinates 1,1. And they are not equal to the upper right corner in all
cases. To change this would mean to do incompatible changes.
> I wonder if the problem with the inconsistencies between different
> terminals and backward compatibility is so severe that a new global
> option "set terminalmode {old|new}" is needed. I believe that option
> would be quite horrible from the maintaining point of view.
I would prefer to add a new coordinate system, e.g., canvas, that scales
with the canvas of the plot.
Best regards
Harald
--
Harald Harders
h.h...@tu...
http://www.harald-harders.de
|