Mercurial > octave
comparison libinterp/corefcn/graphics.in.h @ 20946:6eff66fb8a02
style fixes for comments
* find-dialog.cc, find-dialog.h, display.cc, error.cc, gl-render.cc,
graphics.cc, graphics.in.h, max.cc, oct-handle.h, oct-obj.h,
oct-stream.cc, oct.h, pr-output.cc, profiler.cc, str2double.cc,
symtab.cc, toplev.cc, toplev.h, xgl2ps.c, zfstream.cc, zfstream.h,
__glpk__.cc, audiodevinfo.cc, colamd.cc, symbfact.cc, ov-classdef.cc,
ov-classdef.h, ov-java.cc, op-int.h, pt-pr-code.cc, pt-walk.h:
Use C++-style comments where possible.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Dec 2015 22:39:36 -0500 |
parents | 384ff5aa9437 |
children | 77f5591878bf |
comparison
equal
deleted
inserted
replaced
20945:9d9270e2f98f | 20946:6eff66fb8a02 |
---|---|
1947 const octave_value_list& args); | 1947 const octave_value_list& args); |
1948 | 1948 |
1949 property clone (void) const | 1949 property clone (void) const |
1950 { return property (rep->clone ()); } | 1950 { return property (rep->clone ()); } |
1951 | 1951 |
1952 /* | 1952 #if 0 |
1953 const string_property& as_string_property (void) const | 1953 const string_property& as_string_property (void) const |
1954 { return *(dynamic_cast<string_property*> (rep)); } | 1954 { return *(dynamic_cast<string_property*> (rep)); } |
1955 | 1955 |
1956 const radio_property& as_radio_property (void) const | 1956 const radio_property& as_radio_property (void) const |
1957 { return *(dynamic_cast<radio_property*> (rep)); } | 1957 { return *(dynamic_cast<radio_property*> (rep)); } |
1965 const bool_property& as_bool_property (void) const | 1965 const bool_property& as_bool_property (void) const |
1966 { return *(dynamic_cast<bool_property*> (rep)); } | 1966 { return *(dynamic_cast<bool_property*> (rep)); } |
1967 | 1967 |
1968 const handle_property& as_handle_property (void) const | 1968 const handle_property& as_handle_property (void) const |
1969 { return *(dynamic_cast<handle_property*> (rep)); } | 1969 { return *(dynamic_cast<handle_property*> (rep)); } |
1970 */ | 1970 #endif |
1971 | 1971 |
1972 private: | 1972 private: |
1973 base_property *rep; | 1973 base_property *rep; |
1974 }; | 1974 }; |
1975 | 1975 |
2522 } | 2522 } |
2523 | 2523 |
2524 virtual graphics_toolkit get_toolkit (void) const; | 2524 virtual graphics_toolkit get_toolkit (void) const; |
2525 | 2525 |
2526 virtual Matrix | 2526 virtual Matrix |
2527 get_boundingbox (bool /*internal*/ = false, | 2527 get_boundingbox (bool /* finternal */ = false, |
2528 const Matrix& /*parent_pix_size*/ = Matrix ()) const | 2528 const Matrix& /* parent_pix_size */ = Matrix ()) const |
2529 { return Matrix (1, 4, 0.0); } | 2529 { return Matrix (1, 4, 0.0); } |
2530 | 2530 |
2531 virtual void update_boundingbox (void); | 2531 virtual void update_boundingbox (void); |
2532 | 2532 |
2533 virtual void update_autopos (const std::string& elem_type); | 2533 virtual void update_autopos (const std::string& elem_type); |