#include <oval.h>
Inheritance diagram for oval:


Public Member Functions | |
| oval (canvas &draw_on, const geometric::ellipse &init, const color &foreground=colors::WHITE, bool attach=true) | |
| virtual c_rectangle | dimensions () const |
| virtual void | plot (const color &to_plot_in) |
| geometric::ellipse | base () const |
| void | base (const geometric::ellipse &to_set) |
Definition at line 27 of file oval.h.
| oval::oval | ( | canvas & | draw_on, | |
| const geometric::ellipse & | init, | |||
| const color & | foreground = colors::WHITE, |
|||
| bool | attach = true | |||
| ) |
| c_rectangle oval::dimensions | ( | ) | const [virtual] |
Implements paintable.
Definition at line 28 of file oval.cpp.
References c_point, c_rectangle, geometric::ellipse::center(), geometric::ellipse::height_from_center(), and geometric::ellipse::width_from_center().
Referenced by plot().
| void oval::plot | ( | const color & | to_plot_in | ) | [virtual] |
Implements paintable.
Definition at line 35 of file oval.cpp.
References palette::add(), c_point, c_rectangle, worker::colormap(), dimensions(), paintable::filled(), color::index(), and paintable::target().
| void oval::base | ( | const geometric::ellipse & | to_set | ) |
1.5.1