diff --git a/src/rubberband.h b/src/rubberband.h
index f9adc7b3b5d839f3e9e108b61f1508a5b639c9d9..57e4ea2a394e159b499b0369173a7537452bfcd8 100644 (file)
--- a/src/rubberband.h
+++ b/src/rubberband.h
*/
#include "forward.h"
*/
#include "forward.h"
-#include "libnr/nr-forward.h"
-#include "libnr/nr-point.h"
#include <boost/optional.hpp>
#include <vector>
#include <boost/optional.hpp>
#include <vector>
+#include <2geom/point.h>
+#include <2geom/rect.h>
/* fixme: do multidocument safe */
/* fixme: do multidocument safe */
{
public:
{
public:
- void start(SPDesktop *desktop, NR::Point const &p);
- void move(NR::Point const &p);
- boost::optional<NR::Rect> getRectangle() const;
+ void start(SPDesktop *desktop, Geom::Point const &p);
+ void move(Geom::Point const &p);
+ Geom::OptRect getRectangle() const;
void stop();
bool is_started();
inline int getMode() {return _mode;}
void stop();
bool is_started();
inline int getMode() {return _mode;}
- inline std::vector<NR::Point> getPoints() {return _points;}
+ inline std::vector<Geom::Point> getPoints() {return _points;}
void setMode(int mode);
void setMode(int mode);
static Rubberband* _instance;
SPDesktop *_desktop;
static Rubberband* _instance;
SPDesktop *_desktop;
- NR::Point _start;
- NR::Point _end;
+ Geom::Point _start;
+ Geom::Point _end;
- std::vector<NR::Point> _points;
+ std::vector<Geom::Point> _points;
CtrlRect *_rect;
SPCanvasItem *_touchpath;
CtrlRect *_rect;
SPCanvasItem *_touchpath;
fill-column:99
End:
*/
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :