blob: 413b8d976336742736077a45e8310f6a8b9eeabe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef TRANSFORMER_H
#define TRANSFORMER_H
#include "Branch.h"
class Transformer : public Branch
{
public:
Transformer();
virtual ~Transformer();
virtual bool AddParent(Element* parent, wxPoint2DDouble position);
virtual bool Contains(wxPoint2DDouble position) const;
virtual void Draw(wxPoint2DDouble translation, double scale) const;
virtual bool Intersects(wxRect2DDouble rect) const;
virtual void Rotate();
virtual void Move(wxPoint2DDouble position);
virtual void MoveNode(Element* parent, wxPoint2DDouble position);
virtual void StartMove(wxPoint2DDouble position);
virtual bool GetContextMenu(wxMenu& menu);
};
#endif // TRANSFORMER_H
|