nanogui: scaling up a window without changing the code
Subject:
Re: [nanogui] scaling up a window without changing the code
From:
"Greg Haerr" ####@####.####
Date:
21 Mar 2007 19:52:31 +0000
Message-Id: <159b01c76bf2$4b0ed770$0300a8c0@RDP>
: Is there any way anybody knows to where that everything drawn to a
: window gets scaled up, 2x, in size? While this is not the optimum
: solution it does allow us to get a feeling of how things will look.
No easy way to do this, unless you want to hack the screen
driver to do the doubling for every draw, including the
bitblit operations, which could be a pain and slow. Essentially,
the upper level would think there's half the width and height
available on the screen, and draw four times the area when
called.
Regards,
Greg