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/VertexProvider.h

19 lines
402 B
C
Raw Normal View History

2008-02-13 21:06:01 +00:00
#ifndef VERTEXPROVIDER_H_
#define VERTEXPROVIDER_H_
#include "Vertex.h"
class VertexProvider {
public:
virtual ~VertexProvider() {}
virtual const Vertex* getVertex(size_t id) const = 0;
virtual size_t getVertexCount() const = 0;
virtual void moveVertex(size_t id, float x, float y) {}
virtual void rotateVertex(size_t id, float a) {}
};
#endif /*VERTEXPROVIDER_H_*/