changeset 8355:a8019b9644ca

graphics.h.in: Add props screensize & screenpixelsperinch.
author Ben Abbott <bpabbott@mac.com>
date Thu, 13 Nov 2008 07:50:33 -0500
parents 534fd216278c
children d750feaefa8e
files ChangeLog src/graphics.h.in
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 03 18:49:51 2008 -0500
+++ b/ChangeLog	Thu Nov 13 07:50:33 2008 -0500
@@ -2,6 +2,10 @@
 
 	* mkoctfile.cc.in, octave-bug.cc.in: Style fixes.
 
+2008-11-13  Ben Abbott <bpabbott@mac.com>
+
+	* src/graphics.h.in: Add props screensize & screenpixelsperinch.
+
 2008-10-30  David Bateman  <dbateman@free.fr>
 
 	* NEWS: Minor update to document improved indexing code.
--- a/src/graphics.h.in	Mon Nov 03 18:49:51 2008 -0500
+++ b/src/graphics.h.in	Thu Nov 13 07:50:33 2008 -0500
@@ -2159,6 +2159,8 @@
     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
       bool_property showhiddenhandles , "off"
     END_PROPERTIES
 
@@ -2351,8 +2353,8 @@
       radio_property paperunits , "{inches}|centimeters|normalized|points"
       array_property paperposition , Matrix (1, 4 , 0) 
       radio_property paperpositionmode , "auto|{manual}"
-      array_property papersize r , Matrix (1, 4, 0)
-      radio_property papertype , "{usletter}|uslegal|a0|a1|a2|a3|a4|a5|b0|b1|b2|b3|b4|b5|arch-a|arch-b|arch-c|arch-d|arch-e|a|b|c|d|e|tabloid"
+      array_property papersize , Matrix (1, 2, 0)
+      radio_property papertype , "{usletter}|uslegal|a0|a1|a2|a3|a4|a5|b0|b1|b2|b3|b4|b5|arch-a|arch-b|arch-c|arch-d|arch-e|a|b|c|d|e|tabloid|<custom>"
       radio_property pointer , "crosshair|fullcrosshair|{arrow}|ibeam|watch|topl|topr|botl|botr|left|top|right|bottom|circle|cross|fleur|custom|hand"
       array_property pointershapecdata , Matrix (16, 16, 0)
       array_property pointershapehotspot , Matrix (1, 2, 0)