Scaled 2D graphics?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
damocles
Posts: 5
Joined: Tue Feb 10, 2004 12:38 am

Scaled 2D graphics?

Post by damocles »

Is there a function or system in place that would scale any 2D graphics to fit a window size?

In other words, if I drew a 50x50 rectangle on a 500x500 screen, then the screen was changed to 1000x1000 the rectangle would be automatically scaled to 100x100.

I know it's not hard to scale all the 2D graphic calls myself, but I was wondering if there was anything in place already or any plans to add such features?
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post by Masdus »

i was wondering about his too for my gui. It would be nice for the gui to be able to scael depending on the selected resoultion. I was thinking of writing a extension for some vector graphic formats to enable this.
shurijo
Posts: 148
Joined: Sat Feb 21, 2004 3:04 am

Post by shurijo »

Check out saigumi's GUI Handler. He may be in the process of writing something to handle this. I'm also getting ready to implement his GUI Handler, but I haven't started migrating my existing GUI to his app yet.

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1095
Post Reply