#include <TdkEditableObject.h>
Inheritance diagram for TdkEditableObject:

Public Member Functions | |
| virtual void | translate (double dx, double dy)=0 |
| virtual void | scale (double sx, double sy, int fixedPoint)=0 |
| virtual void | rotate (double angle, TeCoord2D &fixedCoord)=0 |
| virtual void | transform (TdkMathMatrix &matrix)=0 |
| virtual void | addPoint (int vertex1, TeCoord2D point)=0 |
| virtual void | editPoint (int index, double dx, double dy)=0 |
| virtual void | removePoint (int index)=0 |
| virtual bool | isTranslatable ()=0 |
| virtual bool | isScalable ()=0 |
| virtual bool | isRotatable ()=0 |
| virtual TeCoord2D | fixedCoord (int fixedPoint)=0 |
| virtual int | boxPoint (TeCoord2D &coord)=0 |
| virtual int | vertexPoint (TeCoord2D &coord)=0 |
| virtual void | segmentVertexes (TeCoord2D &coord, int &vertex1, int &vertex2)=0 |
| virtual void | point2Line (TeCoord2D &coord, int vertex1, int vertex2)=0 |
| virtual void | scaleFactor (TeBox &box, double &sx, double &sy, int boxPoint)=0 |
| virtual void | rotateAngle (TeBox &box, double &angle, int fixedPoint)=0 |
| virtual TdkMouseCursor | mouseCursor (TeCoord2D &coord)=0 |
| virtual void | setEdited (bool edited) |
| virtual bool | getEdited () |
| virtual void | setSelected (bool selected) |
| virtual bool | getSelected () |
| virtual void | setDeleted (bool deleted) |
| virtual bool | getDeleted () |
| virtual void | setEditionState (TdkObjectEditionState state) |
| virtual TdkObjectEditionState | getEditionState () |
Protected Attributes | |
| bool | edited_ |
| bool | selected_ |
| bool | deleted_ |
| TdkObjectEditionState | eState_ |
| virtual void TdkEditableObject::translate | ( | double | dx, | |
| double | dy | |||
| ) | [pure virtual] |
Implemented in TdkGeographicObject, TdkLayoutObject, and TdkMapLayoutObject.
| virtual void TdkEditableObject::scale | ( | double | sx, | |
| double | sy, | |||
| int | fixedPoint | |||
| ) | [pure virtual] |
Implemented in TdkGeographicObject, TdkImageLayoutObject, TdkLayoutObject, and TdkMapLayoutObject.
| virtual void TdkEditableObject::rotate | ( | double | angle, | |
| TeCoord2D & | fixedCoord | |||
| ) | [pure virtual] |
Implemented in TdkGeographicObject, TdkImageLayoutObject, TdkLayoutObject, and TdkMapLayoutObject.
| virtual void TdkEditableObject::transform | ( | TdkMathMatrix & | matrix | ) | [pure virtual] |
| virtual void TdkEditableObject::addPoint | ( | int | vertex1, | |
| TeCoord2D | point | |||
| ) | [pure virtual] |
Implemented in TdkApplicationLayoutObject, TdkGeographicObject, and TdkGeometricLayoutObject.
| virtual void TdkEditableObject::editPoint | ( | int | index, | |
| double | dx, | |||
| double | dy | |||
| ) | [pure virtual] |
| virtual void TdkEditableObject::removePoint | ( | int | index | ) | [pure virtual] |
| virtual bool TdkEditableObject::isTranslatable | ( | ) | [pure virtual] |
Implemented in TdkApplicationLayoutObject, TdkGeographicObject, and TdkGeometricLayoutObject.
| virtual bool TdkEditableObject::isScalable | ( | ) | [pure virtual] |
Implemented in TdkApplicationLayoutObject, TdkGeographicObject, and TdkGeometricLayoutObject.
| virtual bool TdkEditableObject::isRotatable | ( | ) | [pure virtual] |
Implemented in TdkApplicationLayoutObject, TdkGeographicObject, TdkGeometricLayoutObject, TdkImageLayoutObject, and TdkMapLayoutObject.
| virtual TeCoord2D TdkEditableObject::fixedCoord | ( | int | fixedPoint | ) | [pure virtual] |
Implemented in TdkGeographicObject, TdkLayoutObject, and TdkMapLayoutObject.
| virtual int TdkEditableObject::boxPoint | ( | TeCoord2D & | coord | ) | [pure virtual] |
Implemented in TdkGeographicObject, and TdkLayoutObject.
| virtual int TdkEditableObject::vertexPoint | ( | TeCoord2D & | coord | ) | [pure virtual] |
| virtual void TdkEditableObject::segmentVertexes | ( | TeCoord2D & | coord, | |
| int & | vertex1, | |||
| int & | vertex2 | |||
| ) | [pure virtual] |
| virtual void TdkEditableObject::point2Line | ( | TeCoord2D & | coord, | |
| int | vertex1, | |||
| int | vertex2 | |||
| ) | [pure virtual] |
| virtual void TdkEditableObject::scaleFactor | ( | TeBox & | box, | |
| double & | sx, | |||
| double & | sy, | |||
| int | boxPoint | |||
| ) | [pure virtual] |
Implemented in TdkGeographicObject, and TdkLayoutObject.
| virtual void TdkEditableObject::rotateAngle | ( | TeBox & | box, | |
| double & | angle, | |||
| int | fixedPoint | |||
| ) | [pure virtual] |
Implemented in TdkGeographicObject, and TdkLayoutObject.
| virtual TdkMouseCursor TdkEditableObject::mouseCursor | ( | TeCoord2D & | coord | ) | [pure virtual] |
Implemented in TdkGeographicObject, and TdkLayoutObject.
| void TdkEditableObject::setEdited | ( | bool | edited | ) | [inline, virtual] |
| bool TdkEditableObject::getEdited | ( | ) | [inline, virtual] |
| void TdkEditableObject::setSelected | ( | bool | selected | ) | [inline, virtual] |
| bool TdkEditableObject::getSelected | ( | ) | [inline, virtual] |
| void TdkEditableObject::setDeleted | ( | bool | deleted | ) | [inline, virtual] |
| bool TdkEditableObject::getDeleted | ( | ) | [inline, virtual] |
| void TdkEditableObject::setEditionState | ( | TdkObjectEditionState | state | ) | [inline, virtual] |
Reimplemented in TdkApplicationLayoutObject.
| TdkObjectEditionState TdkEditableObject::getEditionState | ( | ) | [inline, virtual] |
bool TdkEditableObject::edited_ [protected] |
bool TdkEditableObject::selected_ [protected] |
bool TdkEditableObject::deleted_ [protected] |
TdkObjectEditionState TdkEditableObject::eState_ [protected] |
1.5.2