Thread View: net.graphics
3 messages
3 total messages
Started by bonham
Mon, 27 Oct 1986 22:20
Re: Y positive up or down?
Author: bonham
Date: Mon, 27 Oct 1986 22:20
Date: Mon, 27 Oct 1986 22:20
23 lines
1613 bytes
1613 bytes
Thanks to all net.graphics readers responding with opinions
on the relative merits of putting the coordinate origin for an
integrated 2-D text and graphics support system at the top left
versus the bottom left of the screen.
The consensus so far is overwhelmingly in favour of the normal
Cartesian coordinate system with <0,0> at bottom left.
However, there must be *some* reason Sun, and many other window
system developers, chose the upper left with Y increasing downward.
Perhaps it is because their systems were intended primarily for ease
in programming text displays. Most typesetting / page description
languages use the inverted, Y-positive-down coordinate system.
To obtain perhaps a wider representation of views, I am posting
my original message to net.text and net.cog-eng and am inviting
further discussion in all three newsgroups. Thank you.
--
_|_ __/__
__+__ /_ Mike Bonham
/__ |__|
/\./ /| ..!{ubc-vision,ihnp4}!alberta!calgary!bonham
_/ \_ _/ |_|
Re: Y positive up or down?
Author: Doug Gwyn
Date: Mon, 03 Nov 1986 17:01
Date: Mon, 03 Nov 1986 17:01
29 lines
2062 bytes
2062 bytes
In article <478@vaxb.calgary.UUCP> bonham@calgary.UUCP writes: >However, there must be *some* reason Sun, and many other window >system developers, chose the upper left with Y increasing downward. >Perhaps it is because their systems were intended primarily for ease >in programming text displays. Most typesetting / page description >languages use the inverted, Y-positive-down coordinate system. So far as adopting a convention goes, it really doesn't matter, so you might as well provide programmers etc. with one that follows mathematical/engineering conventions (1st-quadrant). Whether this is appropriate for an end-user depends a lot on what the user's background is. HOWEVER, the order that bits are stored in a file DOES matter; there are observable consequences, such as the order in which an image is "painted" on the display. It should be obvious why text-oriented systems store the bits near the top of the image first, and consequently tend to adopt 4th-quadrant address conventions. I also think that it's aesthetically more pleasing for graphic images to roll onto the display from top to bottom, but not everyone agrees with this. Image storage order and coordinate conventions have only a loose connection and can be chosen independently if desired. Henry stated that the Blit was 4th-quadrant; I believe the Blit was originally 1st-quadrant, changed to 4th-quadrant for the DMD (which is NOT a Blit!). There is evidence for this in some of the older DMD software.
Re: Y positive up or down?
Author: Doug Gwyn
Date: Sat, 08 Nov 1986 08:03
Date: Sat, 08 Nov 1986 08:03
17 lines
1525 bytes
1525 bytes
In article <7291@utzoo.UUCP> henry@utzoo.UUCP (Henry Spencer) writes: >To quote from "Hardware/Software Trade-offs for Bitmap Graphics >on the Blit", Pike/Locanthi/Reiser, Software-Practice&Experience Feb 1985: > >" ... All bitmaps share a single >coordinate space, with (0,0) in the upper left. ... " Ah, but in the ACM TOG, Apr 1983 Rob used 1st-quadrant. It is worth noting that almost all the algorithms are independent of this convention. (Exercise: Find the one that isn't.) Note that I'm not arguing which is BETTER, since I've already pointed out that that should be decided on the basis of observable consequences at the user interface. In my corner of the world, text-oriented stuff should appear from left-to-right, top-down. This argues fairly strongly for at least STORING raster information in that order, but it has somewhat less impact on the design of raster software/hardware internals.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads