www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/24/08:24:08

Date: Wed, 24 Sep 1997 16:22:37 +0400 (MSK)
From: "Eugene N. Trofimov" <eugene AT uniyar DOT ac DOT ru>
To: djgpp AT delorie DOT com
Subject: Ellipses in Allegro
Message-ID: <Pine.GSO.3.95.970924160838.12961A-100000@univ.uniyar.ac.ru>
MIME-Version: 1.0

  Is it possible to draw ellipses in Allegro 2.2?
  Or have I to create my own subprogram to do it?

  If second, could anybody tell me any fast algorithm to do it?
  I can remember only trivial : X=R1*COS(T)
				Y=R2*SIN(T).

  I saw a circle drawing algorithm in Allegro's sources, without
  sines and cosines. Probably, one may to draw ellipces by using    
  similar algorithm too.

                                                          Thanx.

P.S. Sorry for my english..... 
     My experience in russian is more good :)
------------------------------------------------------------------
Majestic.            Yaroslavl State University, Yaroslavl, Russia
    E-MAIL : majestic AT innocent DOT com
    WWW    : http://root.base.org
------------------------------------------------------------------


- Raw text -


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