diff src/graphics.h.in @ 8560:5cc594679cdc

get display characteristics from system
author John W. Eaton <jwe@octave.org>
date Wed, 21 Jan 2009 21:43:05 -0500
parents cddf85b1524a
children b4fb0a52b15e
line wrap: on
line diff
--- a/src/graphics.h.in	Wed Jan 21 15:35:17 2009 -0500
+++ b/src/graphics.h.in	Wed Jan 21 21:43:05 2009 -0500
@@ -2159,8 +2159,10 @@
     BEGIN_PROPERTIES (root_figure, root)
       handle_property currentfigure S , graphics_handle ()
       handle_property callbackobject Sr , graphics_handle ()
-      array_property screensize , Matrix (1, 4, 0)
-      double_property screenpixelsperinch , 72
+      double_property screendepth r , default_screendepth ()
+      array_property screensize r , default_screensize ()
+      double_property screenpixelsperinch r , default_screenpixelsperinch ()
+      radio_property units U , "inches|centimeters|normalized|points|{pixels}"
       bool_property showhiddenhandles , "off"
     END_PROPERTIES