casa
$Rev:20696$
|
#include <DSScreenText.h>
Public Member Functions | |
DSScreenText () | |
DSScreenText (const Record &settings, PixelCanvas *pc) | |
DSScreenText (DSPixelText &other, PixelCanvas *pc) | |
DSScreenText (DSWorldText &other) | |
virtual | ~DSScreenText () |
virtual void | recalculateScreenPosition () |
virtual Bool | setOptions (const Record &settings) |
virtual Record | getOptions () |
Get and set options. | |
virtual void | move (const Float &dX, const Float &dY) |
These are so we can monitor if the text is moved and update our relative position. | |
virtual void | setCenter (const Float &xPos, const Float &yPos) |
Sets the center of the DisplayShape. | |
virtual Record | getRawOptions () |
Private Member Functions | |
virtual Vector< Float > | relToScreen (const Vector< Float > &rel) |
virtual Vector< Float > | screenToRel (const Vector< Float > &screen) |
virtual void | updateRC () |
Private Attributes | |
PixelCanvas * | itsPC |
Vector< Float > | itsRelativeCenter |
Definition at line 48 of file DSScreenText.h.
casa::DSScreenText::DSScreenText | ( | const Record & | settings, |
PixelCanvas * | pc | ||
) |
casa::DSScreenText::DSScreenText | ( | DSPixelText & | other, |
PixelCanvas * | pc | ||
) |
casa::DSScreenText::DSScreenText | ( | DSWorldText & | other | ) |
virtual casa::DSScreenText::~DSScreenText | ( | ) | [virtual] |
virtual Record casa::DSScreenText::getOptions | ( | ) | [virtual] |
virtual Record casa::DSScreenText::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 68 of file DSScreenText.h.
References getOptions().
virtual void casa::DSScreenText::move | ( | const Float & | dX, |
const Float & | dY | ||
) | [virtual] |
These are so we can monitor if the text is moved and update our relative position.
Reimplemented from casa::DSText.
virtual void casa::DSScreenText::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
virtual Vector<Float> casa::DSScreenText::relToScreen | ( | const Vector< Float > & | rel | ) | [private, virtual] |
virtual Vector<Float> casa::DSScreenText::screenToRel | ( | const Vector< Float > & | screen | ) | [private, virtual] |
virtual void casa::DSScreenText::setCenter | ( | const Float & | xPos, |
const Float & | yPos | ||
) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSText.
virtual Bool casa::DSScreenText::setOptions | ( | const Record & | settings | ) | [virtual] |
Reimplemented from casa::DSText.
virtual void casa::DSScreenText::updateRC | ( | ) | [private, virtual] |
PixelCanvas* casa::DSScreenText::itsPC [private] |
Definition at line 73 of file DSScreenText.h.
Vector<Float> casa::DSScreenText::itsRelativeCenter [private] |
Definition at line 74 of file DSScreenText.h.