casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::DSBasic Class Reference

Base class for all "basic" shapes. More...

#include <DSBasic.h>

Inheritance diagram for casa::DSBasic:
casa::DisplayShape casa::DSClosed casa::DSMarker casa::DSPolyLine casa::DSEllipse casa::DSPoly casa::DSPixelMarker casa::DSScreenMarker casa::DSWorldMarker casa::DSLine casa::DSPixelPolyLine casa::DSScreenPolyLine casa::DSWorldPolyLine

List of all members.

Public Member Functions

 DSBasic ()
 Default constructor.
 DSBasic (const DSBasic &other)
 Copy constructor.
virtual ~DSBasic ()
 Destructor.
virtual void setLineWidth (const Int pixels)
 Manage line width.
virtual Int getLineWidth ()
virtual void draw (PixelCanvas *pc)
 Standard fns.
virtual void rotateAbout (const Float &angle, const Float &aboutX, const Float &aboutY)
virtual void move (const Float &dX, const Float &dY)
virtual Record getOptions ()
 Settings.
virtual Bool setOptions (const Record &settings)

Private Attributes

DParameterRange< Int > * itsLineWidth
 
   


Detailed Description

Base class for all "basic" shapes.

Prerequisite

Etymology

DSBasic is a base for all basic classes, it manages linewidth.

Synopsis

DSBasic is a base class for any shape using basic lines to draw it self, i.e. shapes such as lines, circles and polygons should extend this class. More complex DisplayShapes, e.g. text should not.

Motivation

A common interface for the setting of linewidths

Example

Definition at line 68 of file DSBasic.h.


Constructor & Destructor Documentation

Default constructor.

casa::DSBasic::DSBasic ( const DSBasic other)

Copy constructor.

virtual casa::DSBasic::~DSBasic ( ) [virtual]

Destructor.


Member Function Documentation

virtual void casa::DSBasic::draw ( PixelCanvas pc) [virtual]
virtual Int casa::DSBasic::getLineWidth ( ) [virtual]
virtual Record casa::DSBasic::getOptions ( ) [virtual]
virtual void casa::DSBasic::move ( const Float dX,
const Float dY 
) [virtual]
virtual void casa::DSBasic::rotateAbout ( const Float angle,
const Float aboutX,
const Float aboutY 
) [virtual]
virtual void casa::DSBasic::setLineWidth ( const Int  pixels) [virtual]

Manage line width.

virtual Bool casa::DSBasic::setOptions ( const Record settings) [virtual]

Member Data Documentation

   

Definition at line 99 of file DSBasic.h.


The documentation for this class was generated from the following file: