Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "Ronald Pati o G" , djgpp AT delorie DOT com Date: Fri, 3 Jul 1998 12:03:23 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Subject: Re: Scaling an image In-reply-to: <359CE6DA.AA086A45@cue.satnet.net> Content-Transfer-Encoding: 8bit Precedence: bulk "Ronald Patiņo G" wrote: > 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. Use stretch_blit, see ex18.c for an example. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013