www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/03/10:08:17

Message-ID: <359CE6DA.AA086A45@cue.satnet.net>
Date: Fri, 03 Jul 1998 09:12:44 -0500
From: "Ronald Patiño G" <logan AT cue DOT satnet DOT net>
MIME-Version: 1.0
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: Scaling an image

Hi,I'm using allegro's routine to load graphicas file , and got a
question. I got a 320*200 pcx file, but i need to draw it, lets say  in
640*400, how can i scale so that it fill the whole screen in the same
way it did in 320 * 200?.

Is there any way allegro can do it, or do i have to write a routine to
perform this scaling, or is there other way i can do it.

Thanks for your help folks.

- Raw text -


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