diff src/graphics.h.in @ 11385:71e7467fbd34

Disable auto-positioning of manually positioned title and axes labels.
author Konstantinos Poulios <logari81@googlemail.com>
date Fri, 17 Dec 2010 21:23:52 +0100
parents 1511bbfe6a6e
children ecd87194adb6
line wrap: on
line diff
--- a/src/graphics.h.in	Fri Dec 17 21:13:39 2010 +0100
+++ b/src/graphics.h.in	Fri Dec 17 21:23:52 2010 +0100
@@ -3491,9 +3491,9 @@
     BEGIN_PROPERTIES (text)
       string_property string u , ""
       radio_property units u , "{data}|pixels|normalized|inches|centimeters|points"
-      array_property position u , Matrix (1, 3, 0.0)
-      double_property rotation u , 0
-      radio_property horizontalalignment , "{left}|center|right"
+      array_property position mu , Matrix (1, 3, 0.0)
+      double_property rotation mu , 0
+      radio_property horizontalalignment m , "{left}|center|right"
       color_property color , color_values (0, 0, 0)
       string_property fontname u , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize u , 10
@@ -3509,7 +3509,7 @@
       radio_property linestyle , "{-}|--|:|-.|none"
       double_property linewidth , 0.5
       double_property margin , 1
-      radio_property verticalalignment , "top|cap|{middle}|baseline|bottom"
+      radio_property verticalalignment m , "top|cap|{middle}|baseline|bottom"
       array_property extent rG , Matrix (1, 4, 0.0)
       // hidden properties for limit computation
       row_vector_property xlim hlr , Matrix ()
@@ -3518,6 +3518,11 @@
       bool_property xliminclude hl , "off"
       bool_property yliminclude hl , "off"
       bool_property zliminclude hl , "off"
+      // hidden properties for auto-positioning
+      radio_property positionmode h , "{auto}|manual"
+      radio_property rotationmode h , "{auto}|manual"
+      radio_property horizontalalignmentmode h , "{auto}|manual"
+      radio_property verticalalignmentmode h , "{auto}|manual"
     END_PROPERTIES
 
     Matrix get_data_position (void) const;