|
From: | Benja Fallenstein |
Subject: | Re: The connection bug, was: Re: [Gzz] Summing up... |
Date: | Sun, 06 Oct 2002 10:34:02 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 |
Tuomas Lukka wrote:
No, it *is* related to scaling: in the right coordinate system, (2,2) *would*be the lower right corner.The point where the connection starts should be taken from the *box* coordinate system, in which it would be right, if scaling is applied. Ok?
Yes, but the drawing code only uses that in the gl code. In the AWT code, it uses getExtRect (AFAIK) and computes a point in that box.
So again, scaling would not help-- *placing the connection in the box coordinate system* would. But that's not trivial because of the way the view code works.
- Benja
[Prev in Thread] | Current Thread | [Next in Thread] |