Page 1 of 1

Scaled 2D graphics?

Posted: Wed Feb 25, 2004 11:14 am
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?

Posted: Fri Feb 27, 2004 1:31 am
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.

Posted: Fri Feb 27, 2004 6:11 am
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