Graphics; Help;

 BBS: Inland Empire Archive
Date: 04-01-93 (08:30)             Number: 258
From: JOHN RIHERD                  Refer#: NONE
  To: KEITH HAMPTON                 Recvd: NO  
Subj: Graphics; Help;                Conf: (2) Quik_Bas
*** Quoting Keith Hampton to All dated 03-29-93 ***
> Does anyone know of a simple way to overcome the problem of non-square
> graphics resolutions and creating routines that draw geometric shapes?
> For example, when my routine draws a sphere, it comes out oval instead
> of circular.  In low-res graphics mode, it isn't too noticable but I'd
> rather use high res.  Why can't all resolution mode just be square!?

Look up "aspect ratio" in you QB manual.You can adjust the aspect ratio in
the graphic command.  Calculate the aspect ratio with the
formula: (4/3) * (ypixels/xpixels)  ypixels and xpixels are
your currę*ent screen's resolution. Then the circle command
can be adjusted like this: CIRCLE [STEP] (x,y),,,,aspect.

All those commas are necessary placeholders.
And the command linewrapped in this message.

--- T.A.G. 2.6d Standard
 * Origin: -=* Heavn BBS *=- [713]996-5352  TEXAS!!! (1:106/5352@FIDONET.ORG)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET