DSScreenArrow.h

Classes

DSScreenArrow -- Implementation of a relative screen pos DSArrow (full description)

class DSScreenArrow : public DSArrow , public DisplayShapeWithCoords

Interface

Public Members
DSScreenArrow()
DSScreenArrow(const Record& settings, PixelCanvas* pc)
DSScreenArrow(DSPixelArrow& other, PixelCanvas* pc)
DSScreenArrow(DSWorldArrow& other)
virtual ~DSScreenArrow()
virtual void recalculateScreenPosition()
virtual void move(const Float& dX, const Float& dY)
virtual void setCenter(const Float& xPos, const Float& yPos)
virtual void rotate(const Float& angle)
virtual void scale(const Float& scaleFactor)
virtual void setStartPoint(const Vector<Float>& startPoint)
virtual void setEndPoint(const Vector<Float>& endPoint)
virtual void changePoint(const Vector<Float>&pos, const Int n)
virtual void changePoint(const Vector<Float>& pos)
virtual Bool setOptions(const Record& settings)
virtual Record getOptions()
virtual Record getRawOptions()
Private Members
void updateRelative()

Description

Member Description

DSScreenArrow()

DSScreenArrow(const Record& settings, PixelCanvas* pc)

DSScreenArrow(DSPixelArrow& other, PixelCanvas* pc)

DSScreenArrow(DSWorldArrow& other)

virtual ~DSScreenArrow()

virtual void recalculateScreenPosition()

virtual void move(const Float& dX, const Float& dY)
virtual void setCenter(const Float& xPos, const Float& yPos)
virtual void rotate(const Float& angle)
virtual void scale(const Float& scaleFactor)
virtual void setStartPoint(const Vector<Float>& startPoint)
virtual void setEndPoint(const Vector<Float>& endPoint)
virtual void changePoint(const Vector<Float>&pos, const Int n)
virtual void changePoint(const Vector<Float>& pos)

So we can update our Screen pos (relative)

virtual Bool setOptions(const Record& settings)

virtual Record getOptions()

virtual Record getRawOptions()

void updateRelative()