[changeset] Missing ScreenSize & ScreenPixelsPerInch properties
John W. Eaton
jwe at octave.org
Thu Jan 22 13:02:46 CST 2009
On 22-Jan-2009, Michael Goffioul wrote:
| Better with the attachment.
|
| On Thu, Jan 22, 2009 at 6:57 PM, Michael Goffioul
| <michael.goffioul at gmail.com> wrote:
| > I used the attached code instead (note the use LOGPIXELSX/Y and
| > ReleaseDC). The results are:
| >
| > 1280x800 pixels
| > 320x200 mm
| > 101.6 resx
| > 101.6 resy
| > 96 resx_log
| > 96 resy_log
| > 101.6 avg dpi
| > 32 bit depth
So what is the correct thing to do? Compute the pixel size, or use
the result from LOGPIXELSX/Y?
jwe
More information about the Octave-maintainers
mailing list