Blame c++/vector/bendarea.h

Ivan Mahonin 145120
#ifndef BENDAREA_H
Ivan Mahonin 145120
#define BENDAREA_H
Ivan Mahonin 145120
Ivan Mahonin 145120
Ivan Mahonin 145120
#include "activearea.h"
Ivan Mahonin 145120
#include "activecurve.h"
Ivan Mahonin 145120
Ivan Mahonin 145120
Ivan Mahonin 145120
class BendArea: public ActiveArea {
Ivan Mahonin 145120
protected:
Ivan Mahonin 145120
	ActivePoint::Handle p0;
Ivan Mahonin 145120
	ActivePoint::Handle p1;
Ivan Mahonin 145120
	ActiveCurve src_curve;
Ivan Mahonin 145120
	ActiveCurve dst_curve;
Ivan Mahonin 145120
Ivan Mahonin 145120
	void on_point_move(const ActivePoint::Handle &point, const Vector &oldposition, const Vector &newposition) override;
Ivan Mahonin 145120
	void on_draw_content(const Context &context) override;
Ivan Mahonin 145120
	
Ivan Mahonin 145120
public:
Ivan Mahonin 145120
	BendArea();
Ivan Mahonin 145120
};
Ivan Mahonin 145120
Ivan Mahonin 145120
Ivan Mahonin 145120
#endif