casa
$Rev:20696$
|
DSClosed provides common functionality for all "closed" shapes. More...
#include <DSClosed.h>
Public Types | |
enum | FillStyle { No_Fill, Full_Fill } |
Type of fill to use. More... | |
Public Member Functions | |
DSClosed () | |
Constructors and destructors. | |
DSClosed (const DSClosed &other) | |
virtual | ~DSClosed () |
virtual void | setFillStyle (DSClosed::FillStyle fill) |
Get / Set fill options. | |
virtual DSClosed::FillStyle | getFillStyle () |
virtual void | setFillColor (String color) |
virtual String | getFillColor () |
virtual void | draw (PixelCanvas *pc) |
General DisplayShape functions. | |
virtual void | rotateAbout (const Float &angle, const Float &aboutX, const Float &aboutY) |
virtual void | move (const Float &dX, const Float &dY) |
virtual Record | getOptions () |
Get and set options. | |
virtual Bool | setOptions (const Record &settings) |
Private Member Functions | |
virtual void | setDefaultOptions () |
Private Attributes | |
DSClosed::FillStyle | itsFillStyle |
String | itsFillColor |
DSClosed provides common functionality for all "closed" shapes.
DSClosed is used to provide a common interface for all closed shapes
DSClosed simply manages the fill options of any closed display shapes.
A desire for a common interface for all closed shapes.
Definition at line 64 of file DSClosed.h.
Constructors and destructors.
casa::DSClosed::DSClosed | ( | const DSClosed & | other | ) |
virtual casa::DSClosed::~DSClosed | ( | ) | [virtual] |
virtual void casa::DSClosed::draw | ( | PixelCanvas * | pc | ) | [virtual] |
General DisplayShape functions.
The non abstract functions in this group simply pass on calls up the class tree.
Reimplemented from casa::DSBasic.
Reimplemented in casa::DSPoly, casa::DSEllipse, casa::DSWorldPoly, casa::DSWorldEllipse, and casa::DSWorldRectangle.
virtual String casa::DSClosed::getFillColor | ( | ) | [virtual] |
virtual DSClosed::FillStyle casa::DSClosed::getFillStyle | ( | ) | [virtual] |
virtual Record casa::DSClosed::getOptions | ( | ) | [virtual] |
Get and set options.
Reimplemented from casa::DSBasic.
Reimplemented in casa::DSRectangle, casa::DSPoly, casa::DSEllipse, casa::DSCircle, casa::DSSquare, casa::DSWorldPoly, casa::DSWorldEllipse, casa::DSScreenPoly, casa::DSWorldRectangle, casa::DSPixelPoly, casa::DSPixelEllipse, casa::DSScreenEllipse, casa::DSScreenRectangle, and casa::DSPixelRectangle.
virtual void casa::DSClosed::move | ( | const Float & | dX, |
const Float & | dY | ||
) | [virtual] |
Reimplemented from casa::DSBasic.
Reimplemented in casa::DSRectangle, casa::DSPoly, casa::DSEllipse, casa::DSWorldPoly, casa::DSScreenPoly, casa::DSWorldEllipse, casa::DSWorldRectangle, casa::DSScreenEllipse, and casa::DSScreenRectangle.
virtual void casa::DSClosed::rotateAbout | ( | const Float & | angle, |
const Float & | aboutX, | ||
const Float & | aboutY | ||
) | [virtual] |
Reimplemented from casa::DSBasic.
Reimplemented in casa::DSPoly, casa::DSRectangle, and casa::DSEllipse.
virtual void casa::DSClosed::setDefaultOptions | ( | ) | [private, virtual] |
Used to set up the class when default constructor called
Reimplemented from casa::DisplayShape.
Reimplemented in casa::DSRectangle, casa::DSEllipse, casa::DSPoly, and casa::DSCircle.
virtual void casa::DSClosed::setFillColor | ( | String | color | ) | [virtual] |
virtual void casa::DSClosed::setFillStyle | ( | DSClosed::FillStyle | fill | ) | [virtual] |
Get / Set fill options.
virtual Bool casa::DSClosed::setOptions | ( | const Record & | settings | ) | [virtual] |
Reimplemented from casa::DSBasic.
Reimplemented in casa::DSPoly, casa::DSRectangle, casa::DSEllipse, casa::DSCircle, casa::DSSquare, casa::DSWorldPoly, casa::DSWorldEllipse, casa::DSScreenPoly, casa::DSWorldRectangle, casa::DSPixelPoly, casa::DSPixelEllipse, casa::DSScreenEllipse, casa::DSScreenRectangle, and casa::DSPixelRectangle.
String casa::DSClosed::itsFillColor [private] |
Definition at line 108 of file DSClosed.h.
Definition at line 107 of file DSClosed.h.