# HG changeset patch # User Ben Abbott # Date 1226580633 18000 # Node ID a8019b9644ca35616cb3994956020ba93ed04fda # Parent 534fd216278c74c4cf4a145db10f647236d29321 graphics.h.in: Add props screensize & screenpixelsperinch. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ * mkoctfile.cc.in, octave-bug.cc.in: Style fixes. +2008-11-13 Ben Abbott + + * src/graphics.h.in: Add props screensize & screenpixelsperinch. + 2008-10-30 David Bateman * NEWS: Minor update to document improved indexing code. diff --git a/src/graphics.h.in b/src/graphics.h.in --- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -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|" 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)