box Class Reference

#include <box.h>

Inheritance diagram for box:

Inheritance graph
[legend]
Collaboration diagram for box:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

Definition at line 24 of file box.h.


Constructor & Destructor Documentation

box::box ( canvas draw_on,
const c_rectangle &  location,
const color foreground = colors::WHITE,
bool  attach = true 
)

Definition at line 21 of file box.cpp.


Member Function Documentation

c_rectangle box::dimensions (  )  const [virtual]

Implements paintable.

Definition at line 26 of file box.cpp.

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().

c_rectangle box::base (  )  const

Definition at line 28 of file box.cpp.

void box::base ( const c_rectangle &  to_set  ) 

Definition at line 30 of file box.cpp.

References c_rectangle.


The documentation for this class was generated from the following files:
Generated on Sat Oct 11 04:29:59 2008 for HOOPLE Libraries by  doxygen 1.5.1