This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/EdgeProvider.h

19 lines
390 B
C
Raw Normal View History

2008-02-15 11:01:04 +00:00
#ifndef EDGEPROVIDER_H_
#define EDGEPROVIDER_H_
#include "Edge.h"
class EdgeProvider {
public:
virtual ~EdgeProvider() {}
virtual const Edge* getEdge(size_t id) const = 0;
virtual size_t getEdgeCount() const = 0;
virtual void moveEdge(size_t id, float x, float y) {}
virtual void rotateEdge(size_t id, Vertex m, float a) {}
2008-02-15 11:01:04 +00:00
};
#endif /*EDGEPROVIDER_H_*/