diff src/graphics.h.in @ 12334:63dc132a1000

Move axes labels and title positioning to axes::properties
author Konstantinos Poulios <logari81@gmail.com>
date Thu, 03 Feb 2011 19:30:13 +0100
parents 2ad37783bf01
children 5367bd36b9f8
line wrap: on
line diff
--- a/src/graphics.h.in	Thu Feb 03 12:47:05 2011 +0100
+++ b/src/graphics.h.in	Thu Feb 03 19:30:13 2011 +0100
@@ -3311,6 +3311,11 @@
     void update_ydir (void) { update_camera (); update_axes_layout (); }
     void update_zdir (void) { update_camera (); update_axes_layout (); }
 
+    void update_xlabel_position (void);
+    void update_ylabel_position (void);
+    void update_zlabel_position (void);
+    void update_title_position (void);
+
     void update_ticklengths (void);
     void update_tickdir (void) { update_ticklengths (); }
     void update_tickdirmode (void) { update_ticklengths (); }
@@ -3380,6 +3385,10 @@
     void calc_ticks_and_lims (array_property& lims, array_property& ticks, array_property& mticks,
                               bool limmode_is_auto, bool is_logscale);
     void calc_ticklabels (const array_property& ticks, any_property& labels, bool is_logscale);
+    Matrix get_ticklabel_extents (const Matrix& ticks,
+                                  const string_vector& ticklabels,
+                                  const Matrix& limits);
+
     void fix_limits (array_property& lims)
     {
       if (lims.get ().is_empty ())