ring Class Reference

#include <ring.h>

Inheritance diagram for ring:

Inheritance graph
[legend]
Collaboration diagram for ring:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ring (canvas &draw_on, const geometric::circle &where, const color &foreground=colors::WHITE, bool attach=true)
virtual c_rectangle dimensions () const
virtual void plot (const color &to_plot_in)
geometric::circle base () const
void base (const geometric::circle &where)

Detailed Description

Definition at line 26 of file ring.h.


Constructor & Destructor Documentation

ring::ring ( canvas draw_on,
const geometric::circle where,
const color foreground = colors::WHITE,
bool  attach = true 
)

Definition at line 25 of file ring.cpp.


Member Function Documentation

c_rectangle ring::dimensions (  )  const [virtual]

Implements paintable.

Definition at line 28 of file ring.cpp.

Referenced by plot().

void ring::plot ( const color to_plot_in  )  [virtual]

Implements paintable.

Definition at line 30 of file ring.cpp.

References palette::add(), c_rectangle, worker::colormap(), dimensions(), paintable::filled(), color::index(), and paintable::target().

circle ring::base (  )  const

Definition at line 51 of file ring.cpp.

void ring::base ( const geometric::circle where  ) 

Definition at line 53 of file ring.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 04:30:57 2008 for HOOPLE Libraries by  doxygen 1.5.1