Mercurial > hg > octave-avbm
comparison src/graphics.h.in @ 8247:e41f420875db
set name of root_figure object to root
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 20 Oct 2008 12:22:28 -0400 |
parents | 11badf6c9e9f |
children | 1f429086565c |
comparison
equal
deleted
inserted
replaced
8246:db19494c7c2a | 8247:e41f420875db |
---|---|
2092 void remove_child (const graphics_handle& h); | 2092 void remove_child (const graphics_handle& h); |
2093 | 2093 |
2094 // See the genprops.awk script for an explanation of the | 2094 // See the genprops.awk script for an explanation of the |
2095 // properties declarations. | 2095 // properties declarations. |
2096 | 2096 |
2097 BEGIN_PROPERTIES(root_figure) | 2097 BEGIN_PROPERTIES (root_figure, root) |
2098 handle_property currentfigure S , graphics_handle () | 2098 handle_property currentfigure S , graphics_handle () |
2099 handle_property callbackobject Sr , graphics_handle () | 2099 handle_property callbackobject Sr , graphics_handle () |
2100 bool_property showhiddenhandles , "off" | 2100 bool_property showhiddenhandles , "off" |
2101 END_PROPERTIES | 2101 END_PROPERTIES |
2102 | 2102 |
2258 std::string get_title (void) const; | 2258 std::string get_title (void) const; |
2259 | 2259 |
2260 // See the genprops.awk script for an explanation of the | 2260 // See the genprops.awk script for an explanation of the |
2261 // properties declarations. | 2261 // properties declarations. |
2262 | 2262 |
2263 BEGIN_PROPERTIES(figure) | 2263 BEGIN_PROPERTIES (figure) |
2264 any_property __plot_stream__ h , Matrix () | 2264 any_property __plot_stream__ h , Matrix () |
2265 bool_property __enhanced__ h , "on" | 2265 bool_property __enhanced__ h , "on" |
2266 radio_property nextplot , "new|{add}|replace_children|replace" | 2266 radio_property nextplot , "new|{add}|replace_children|replace" |
2267 callback_property closerequestfcn , "closereq" | 2267 callback_property closerequestfcn , "closereq" |
2268 handle_property currentaxes S , graphics_handle () | 2268 handle_property currentaxes S , graphics_handle () |
2539 // See the genprops.awk script for an explanation of the | 2539 // See the genprops.awk script for an explanation of the |
2540 // properties declarations. | 2540 // properties declarations. |
2541 | 2541 |
2542 // properties which are not in matlab: interpreter | 2542 // properties which are not in matlab: interpreter |
2543 | 2543 |
2544 BEGIN_PROPERTIES(axes) | 2544 BEGIN_PROPERTIES (axes) |
2545 array_property position u , default_axes_position () | 2545 array_property position u , default_axes_position () |
2546 handle_property title SOf , gh_manager::make_graphics_handle ("text", __myhandle__) | 2546 handle_property title SOf , gh_manager::make_graphics_handle ("text", __myhandle__) |
2547 bool_property box , "on" | 2547 bool_property box , "on" |
2548 bool_property key , "off" | 2548 bool_property key , "off" |
2549 bool_property keybox , "off" | 2549 bool_property keybox , "off" |
2839 // properties declarations. | 2839 // properties declarations. |
2840 | 2840 |
2841 // properties which are not in matlab: | 2841 // properties which are not in matlab: |
2842 // ldata, udata, xldata, xudata, keylabel, interpreter | 2842 // ldata, udata, xldata, xudata, keylabel, interpreter |
2843 | 2843 |
2844 BEGIN_PROPERTIES(line) | 2844 BEGIN_PROPERTIES (line) |
2845 row_vector_property xdata u , default_data () | 2845 row_vector_property xdata u , default_data () |
2846 row_vector_property ydata u , default_data () | 2846 row_vector_property ydata u , default_data () |
2847 row_vector_property zdata u , Matrix () | 2847 row_vector_property zdata u , Matrix () |
2848 row_vector_property ldata u , Matrix () | 2848 row_vector_property ldata u , Matrix () |
2849 row_vector_property udata u , Matrix () | 2849 row_vector_property udata u , Matrix () |
2916 { | 2916 { |
2917 public: | 2917 public: |
2918 // See the genprops.awk script for an explanation of the | 2918 // See the genprops.awk script for an explanation of the |
2919 // properties declarations. | 2919 // properties declarations. |
2920 | 2920 |
2921 BEGIN_PROPERTIES(text) | 2921 BEGIN_PROPERTIES (text) |
2922 string_property string , "" | 2922 string_property string , "" |
2923 radio_property units , "{data}|pixels|normalized|inches|centimeters|points" | 2923 radio_property units , "{data}|pixels|normalized|inches|centimeters|points" |
2924 array_property position u , Matrix (1, 3, 0.0) | 2924 array_property position u , Matrix (1, 3, 0.0) |
2925 double_property rotation , 0 | 2925 double_property rotation , 0 |
2926 radio_property horizontalalignment , "{left}|center|right" | 2926 radio_property horizontalalignment , "{left}|center|right" |
3014 { return climinclude.current_value (); } | 3014 { return climinclude.current_value (); } |
3015 | 3015 |
3016 // See the genprops.awk script for an explanation of the | 3016 // See the genprops.awk script for an explanation of the |
3017 // properties declarations. | 3017 // properties declarations. |
3018 | 3018 |
3019 BEGIN_PROPERTIES(image) | 3019 BEGIN_PROPERTIES (image) |
3020 row_vector_property xdata u , Matrix () | 3020 row_vector_property xdata u , Matrix () |
3021 row_vector_property ydata u , Matrix () | 3021 row_vector_property ydata u , Matrix () |
3022 array_property cdata u , Matrix () | 3022 array_property cdata u , Matrix () |
3023 radio_property cdatamapping al , "{scaled}|direct" | 3023 radio_property cdatamapping al , "{scaled}|direct" |
3024 // hidden properties for limit computation | 3024 // hidden properties for limit computation |
3099 { return aliminclude.current_value (); } | 3099 { return aliminclude.current_value (); } |
3100 | 3100 |
3101 // See the genprops.awk script for an explanation of the | 3101 // See the genprops.awk script for an explanation of the |
3102 // properties declarations. | 3102 // properties declarations. |
3103 | 3103 |
3104 BEGIN_PROPERTIES(patch) | 3104 BEGIN_PROPERTIES (patch) |
3105 array_property xdata u , Matrix () | 3105 array_property xdata u , Matrix () |
3106 array_property ydata u , Matrix () | 3106 array_property ydata u , Matrix () |
3107 array_property zdata u , Matrix () | 3107 array_property zdata u , Matrix () |
3108 array_property cdata u , Matrix () | 3108 array_property cdata u , Matrix () |
3109 radio_property cdatamapping l , "{scaled}|direct" | 3109 radio_property cdatamapping l , "{scaled}|direct" |
3217 { return aliminclude.current_value (); } | 3217 { return aliminclude.current_value (); } |
3218 | 3218 |
3219 // See the genprops.awk script for an explanation of the | 3219 // See the genprops.awk script for an explanation of the |
3220 // properties declarations. | 3220 // properties declarations. |
3221 | 3221 |
3222 BEGIN_PROPERTIES(surface) | 3222 BEGIN_PROPERTIES (surface) |
3223 array_property xdata u , Matrix () | 3223 array_property xdata u , Matrix () |
3224 array_property ydata u , Matrix () | 3224 array_property ydata u , Matrix () |
3225 array_property zdata u , Matrix () | 3225 array_property zdata u , Matrix () |
3226 array_property cdata u , Matrix () | 3226 array_property cdata u , Matrix () |
3227 radio_property cdatamapping al , "{scaled}|direct" | 3227 radio_property cdatamapping al , "{scaled}|direct" |
3364 } | 3364 } |
3365 | 3365 |
3366 // See the genprops.awk script for an explanation of the | 3366 // See the genprops.awk script for an explanation of the |
3367 // properties declarations. | 3367 // properties declarations. |
3368 | 3368 |
3369 BEGIN_PROPERTIES(hggroup) | 3369 BEGIN_PROPERTIES (hggroup) |
3370 // hidden properties for limit computation | 3370 // hidden properties for limit computation |
3371 row_vector_property xlim hr , Matrix() | 3371 row_vector_property xlim hr , Matrix() |
3372 row_vector_property ylim hr , Matrix() | 3372 row_vector_property ylim hr , Matrix() |
3373 row_vector_property zlim hr , Matrix() | 3373 row_vector_property zlim hr , Matrix() |
3374 row_vector_property clim hr , Matrix() | 3374 row_vector_property clim hr , Matrix() |