oval Class Reference

#include <oval.h>

Inheritance diagram for oval:

Inheritance graph
[legend]
Collaboration diagram for oval:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

Definition at line 27 of file oval.h.


Constructor & Destructor Documentation

oval::oval ( canvas draw_on,
const geometric::ellipse init,
const color foreground = colors::WHITE,
bool  attach = true 
)

Definition at line 23 of file oval.cpp.


Member Function Documentation

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

ellipse oval::base (  )  const

Definition at line 59 of file oval.cpp.

void oval::base ( const geometric::ellipse to_set  ) 

Definition at line 61 of file oval.cpp.


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