nanogui: scaling up a window without changing the code


Previous by date: 21 Mar 2007 19:52:31 +0000 scaling up a window without changing the code, tj
Next by date: 21 Mar 2007 19:52:31 +0000 Re: problem GrGetFontList, Greg Haerr
Previous in thread: 21 Mar 2007 19:52:31 +0000 scaling up a window without changing the code, tj
Next in thread: 21 Mar 2007 19:52:31 +0000 Re: scaling up a window without changing the code, R

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


Previous by date: 21 Mar 2007 19:52:31 +0000 scaling up a window without changing the code, tj
Next by date: 21 Mar 2007 19:52:31 +0000 Re: problem GrGetFontList, Greg Haerr
Previous in thread: 21 Mar 2007 19:52:31 +0000 scaling up a window without changing the code, tj
Next in thread: 21 Mar 2007 19:52:31 +0000 Re: scaling up a window without changing the code, R


Powered by ezmlm-browse 0.20.