Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » display resizing

This thread is locked; no one can reply to it. rss feed Print
display resizing
bill carson
Member #14,584
September 2012

I have a background image (bitmap) on my window and then several other images on
top of the background .

When I resize the window , is there a way to automatically resize everything
inside the window to expand to the window . I have the code running that
makes the background resize but am wondering if there is a way to resize
everything at once without having to go through every individual image and
then having to adjust positioning etc.

I am basically new to graphics
programming so sorry if this sounds elementary .

p.s. i am using allegro 5.0.7

Peter Wang
Member #23
April 2000

Transformations are useful for this.

bill carson
Member #14,584
September 2012

Thanks , that looks promising ; i will check it out .

Go to: