diff src/graphics.h.in @ 12467:2f83974d5a6d

implement looseinset property for axes
author Konstantinos Poulios <logari81@googlemail.com>
date Tue, 22 Feb 2011 19:52:55 +0100 (2011-02-22)
parents 24b38afd6a45
children 245b5efb07c2
line wrap: on
line diff
--- a/src/graphics.h.in
+++ b/src/graphics.h.in
@@ -3296,6 +3296,8 @@
       row_vector_property xmtick h , Matrix ()
       row_vector_property ymtick h , Matrix ()
       row_vector_property zmtick h , Matrix ()
+      // hidden properties for inset
+      array_property looseinset hu , Matrix (1, 4, 0.0)
    END_PROPERTIES
 
   protected:
@@ -3394,6 +3396,8 @@
       sync_positions ();
     }
 
+    void update_looseinset (void) { sync_positions (); }
+
     double calc_tick_sep (double minval, double maxval);
     void calc_ticks_and_lims (array_property& lims, array_property& ticks, array_property& mticks,
                               bool limmode_is_auto, bool is_logscale);