www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/05/20:36:59

From: gradha AT iname DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can Allegro draw thick lines & rotate text
Date: Wed, 5 Apr 2000 23:50:29 +0200
Organization: Telefonica Transmision de Datos
Lines: 30
Message-ID: <5fcgc8.v52.ln@pedos.es>
References: <8cdigo$mru$1 AT bob DOT news DOT rcn DOT net>
NNTP-Posting-Host: infou321.jet.es
User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (Linux/2.2.12 (i686))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

mjshelton <mjshelton AT erols DOT com> wrote:
> Can I draw lines of varying thickness? Is their a trick to do this? An
> Algorithm?

There's no such function in Allegro. There may be addons which
provide this functionality. However, thick line drawing sometimes depends
on how you want the lines to be drawn, so is usually best to implement
this kind of function yourself basing it on the actual provided functions.

> Can I display rotated text at any angle in graphics mode?

Not directly. However, you can create a bitmap with your text inside, and
then rotate/blit it wherever you want, which is possibly more flexible and
fast.

> Is there an add-on library for either of these?

Take a search on the Allegro web page. There's an addon section.

> P.S. If this is the wrong forum for Allegro questions, Im sorry. I would
> like to know a good place to ask questions.

The best place is the Allegro mailing list. Go to
http://www.talula.demon.co.uk/allegro/maillist.html and follow the
instructions to join.
--
  Grzegorz Adam Hankiewicz      -            gradha AT iname DOT com
    http://glub.ehu.es/         -     http://welcome.to/gogosoftware/

 <You moved the mouse. You must restart WindowsNT to see the changes.>

- Raw text -


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