[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties
From: |
John W. Eaton |
Subject: |
Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties |
Date: |
Wed, 21 Jan 2009 23:47:36 -0500 |
On 22-Jan-2009, Shai Ayal wrote:
| On Thu, Jan 22, 2009 at 4:56 AM, John W. Eaton <address@hidden> wrote:
| > On my system, X11 returns slightly different values for the X
| > and Y dimensions in millimeters, so the computed pixels per inch in
| > each direction is different. I average the two to come up with a
| > single value (94.514 on my system). But I'm not sure that this is the
| > correct thing. Comments?
|
| I thought this was a backend related task not really belonging in
| "core" octave. However I understand gnuplot does not give this info.
|
| the fltk backend (quite stagnant at the moment) updates screensize
| only since fltk only reports the width and height of the screen in
| pixels, not in any other units, so I suppose we will have to use code
| like you propose in it as well.
Things like
octave:1> get (0, 'screensize')
ans =
1 1 1600 1200
octave:2> set (0, 'units', 'inches')
octave:3> get (0, 'screensize')
ans =
0.00000 0.00000 16.92877 12.69658
will work without creating a figure. So it might as well be something
that is part of the core.
jwe
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, John W. Eaton, 2009/01/21
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, Shai Ayal, 2009/01/21
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties,
John W. Eaton <=
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, Shai Ayal, 2009/01/22
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, John W. Eaton, 2009/01/22
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, Michael Goffioul, 2009/01/22
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, John W. Eaton, 2009/01/22
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, Michael Goffioul, 2009/01/22
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, Michael Goffioul, 2009/01/22
- Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, John W. Eaton, 2009/01/22
Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties, Ben Abbott, 2009/01/22