Mail Archives: djgpp/1998/07/03/11:00:54
"Ronald Patiño G" <logan AT cue DOT satnet DOT net> 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
- Raw text -