delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/06:19:26

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro camera things (aspect)
Date: 25 May 1997 07:21:06 GMT
Organization: The National Capital FreeNet
Lines: 18
Message-ID: <5m8p92$n4g@freenet-news.carleton.ca>
References: <01bc66fe$da95ada0$e13663c3 AT default> <5m41fg$61r$1 AT news0 DOT xs4all DOT nl> <5m65ob$hqr AT freenet-news DOT carleton DOT ca> <01bc686d$47fb3260$a32d63c3 AT default>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet2.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Thomas Harte" (T DOT Harte AT btinternet DOT com DOT REMOVE_THIS_BIT) writes:
>> What about simply scaling by 4/3? No matter what the viewport settings
>> are, the monitor is 4/3 as wide as high.
> 
> 	But doesn't that presume square pixels? Surely, in (for example) 320x200,
> a square, flat on would then appear as say 40x30 pixels, but drawing this
> would result in a rectangle.

Whatever the pixels, the monitor is 4/3 as wide as high. So, in an XxY
video mode, X pixels across is always 4/3 as much physical distance as Y
pixels down, and 3/4X across by Y down is a square.

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019