Article View: comp.windows.interviews
Article #366floating Coord round-off
From: Paul Calder
Date: Sun, 06 Sep 1992 04:30
Date: Sun, 06 Sep 1992 04:30
17 lines
1177 bytes
1177 bytes
Donn Cave writes ... In 3.0.1, it sometimes seems that the actual size and position of elements on the screen is slightly more variable than one would expect, and I have been thinking that this is because of round-off errors between InterViews' floating point coordinate system, and X's integer screen coordinates. This behaviour is an unavoidable consequence of round-off; to call it an 'error' is a bit strong. Mark Linton's paper on device-independent rendering addresses the issue in more detail. (The paper was presented at XTech92 and is available from sgi.com as xconf92.ps.Z.) You can avoid the 'undulation' on scrolling if you always scroll by exact pixel-sized amounts. Paul Calder
Technical Details
Message-ID:
<9209060430.AA09946@nurb.jrc.flinders.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!NURB.JRC.FLINDERS.EDU.AU!calderShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!NURB.JRC.FLINDERS.EDU.AU!calder From: calder@NURB.JRC.FLINDERS.EDU.AU (Paul Calder) Subject: floating Coord round-off Message-ID: <9209060430.AA09946@nurb.jrc.flinders.edu.au> Sender: news@shelby.stanford.edu (USENET News System) Reply-To: calder@cs.flinders.edu.au Organization: Internet-USENET Gateway at Stanford University Date: Sun, 6 Sep 1992 04:30:16 GMT Lines: 17