From a45a0820bec31c1611da0c8de6ecfec218d2419a Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 1 Aug 2008 19:15:16 +0000 Subject: 2geomify a lot of NR::Points to Geom::Point (bzr r6513) --- src/live_effects/parameter/point.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/live_effects/parameter/point.cpp') diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp index 0cb57993e..0c7a701f1 100644 --- a/src/live_effects/parameter/point.cpp +++ b/src/live_effects/parameter/point.cpp @@ -138,8 +138,8 @@ public: PointParamKnotHolderEntity(PointParam *p) { this->pparam = p; } virtual ~PointParamKnotHolderEntity() {} - virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state); - virtual NR::Point knot_get(); + virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); + virtual Geom::Point knot_get(); virtual void knot_click(guint state); private: @@ -147,14 +147,14 @@ private: }; void -PointParamKnotHolderEntity::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) +PointParamKnotHolderEntity::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint /*state*/) { - NR::Point const s = snap_knot_position(p); - pparam->param_setValue(s.to_2geom()); + Geom::Point const s = snap_knot_position(p); + pparam->param_setValue(s); sp_lpe_item_update_patheffect(SP_LPE_ITEM(item), false, false); } -NR::Point +Geom::Point PointParamKnotHolderEntity::knot_get() { return *pparam; -- cgit v1.2.3