comparison src/graphics.h.in @ 11167:51ac3a08e53c

Fix {d,pb}aspectratios for OpenGL backends.
author Konstantinos Poulios <logari81@googlemail.com>
date Thu, 28 Oct 2010 14:12:46 +0200
parents 31e7e9f94850
children c0a95a5c6d25
comparison
equal deleted inserted replaced
11166:9cdf43d1fa16 11167:51ac3a08e53c
2909 2909
2910 BEGIN_PROPERTIES (axes) 2910 BEGIN_PROPERTIES (axes)
2911 array_property position u , default_axes_position () 2911 array_property position u , default_axes_position ()
2912 bool_property box , "on" 2912 bool_property box , "on"
2913 array_property colororder , default_colororder () 2913 array_property colororder , default_colororder ()
2914 array_property dataaspectratio m , Matrix (1, 3, 1.0) 2914 array_property dataaspectratio mu , Matrix (1, 3, 1.0)
2915 radio_property dataaspectratiomode , "{auto}|manual" 2915 radio_property dataaspectratiomode u , "{auto}|manual"
2916 radio_property layer , "{bottom}|top" 2916 radio_property layer , "{bottom}|top"
2917 row_vector_property xlim mu , default_lim () 2917 row_vector_property xlim mu , default_lim ()
2918 row_vector_property ylim mu , default_lim () 2918 row_vector_property ylim mu , default_lim ()
2919 row_vector_property zlim mu , default_lim () 2919 row_vector_property zlim mu , default_lim ()
2920 row_vector_property clim m , default_lim () 2920 row_vector_property clim m , default_lim ()
2986 radio_property fontweight , "{normal}|light|demi|bold" 2986 radio_property fontweight , "{normal}|light|demi|bold"
2987 radio_property gridlinestyle , "-|--|{:}|-.|none" 2987 radio_property gridlinestyle , "-|--|{:}|-.|none"
2988 string_array_property linestyleorder , "-" 2988 string_array_property linestyleorder , "-"
2989 double_property linewidth , 0.5 2989 double_property linewidth , 0.5
2990 radio_property minorgridlinestyle , "-|--|{:}|-.|none" 2990 radio_property minorgridlinestyle , "-|--|{:}|-.|none"
2991 array_property plotboxaspectratio m , Matrix (1, 3, 1.0) 2991 array_property plotboxaspectratio mu , Matrix (1, 3, 1.0)
2992 radio_property plotboxaspectratiomode , "{auto}|manual" 2992 radio_property plotboxaspectratiomode u , "{auto}|manual"
2993 radio_property projection , "{orthographic}|perpective" 2993 radio_property projection , "{orthographic}|perpective"
2994 radio_property tickdir m , "{in}|out" 2994 radio_property tickdir m , "{in}|out"
2995 radio_property tickdirmode , "{auto}|manual" 2995 radio_property tickdirmode , "{auto}|manual"
2996 array_property ticklength , default_axes_ticklength () 2996 array_property ticklength , default_axes_ticklength ()
2997 array_property tightinset r , Matrix (1, 4, 0.0) 2997 array_property tightinset r , Matrix (1, 4, 0.0)
3012 void update_xscale (void) { sx = get_xscale (); } 3012 void update_xscale (void) { sx = get_xscale (); }
3013 void update_yscale (void) { sy = get_yscale (); } 3013 void update_yscale (void) { sy = get_yscale (); }
3014 void update_zscale (void) { sz = get_zscale (); } 3014 void update_zscale (void) { sz = get_zscale (); }
3015 3015
3016 void update_view (void) { update_camera (); } 3016 void update_view (void) { update_camera (); }
3017 void update_dataaspectratio (void) { update_transform (); }
3018 void update_dataaspectratiomode (void) { update_transform (); }
3019 void update_plotboxaspectratio (void) { update_transform (); }
3020 void update_plotboxaspectratiomode (void) { update_transform (); }
3017 3021
3018 void update_xdir (void) { update_camera (); } 3022 void update_xdir (void) { update_camera (); }
3019 void update_ydir (void) { update_camera (); } 3023 void update_ydir (void) { update_camera (); }
3020 void update_zdir (void) { update_camera (); } 3024 void update_zdir (void) { update_camera (); }
3021 3025