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


Public Member Functions | |
| box (canvas &draw_on, const c_rectangle &location, const color &foreground=colors::WHITE, bool attach=true) | |
| virtual c_rectangle | dimensions () const |
| virtual void | plot (const color &to_plot_in) |
| virtual void | set_origin (const c_point &new_origin) |
| c_rectangle | base () const |
| void | base (const c_rectangle &to_set) |
Definition at line 24 of file box.h.
| box::box | ( | canvas & | draw_on, | |
| const c_rectangle & | location, | |||
| const color & | foreground = colors::WHITE, |
|||
| bool | attach = true | |||
| ) |
| c_rectangle box::dimensions | ( | ) | const [virtual] |
| void box::plot | ( | const color & | to_plot_in | ) | [virtual] |
Implements paintable.
Definition at line 45 of file box.cpp.
References palette::add(), c_rectangle, worker::colormap(), paintable::filled(), color::index(), and paintable::target().
| void box::set_origin | ( | const c_point & | new_origin | ) | [virtual] |
Reimplemented from paintable.
Definition at line 32 of file box.cpp.
References c_rectangle, paintable::draw(), paintable::erase(), drawable::origin(), drawable::set_origin(), and drawable::visible().
| void box::base | ( | const c_rectangle & | to_set | ) |
1.5.1