X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fvanishing-point.h;h=9fcb6bb46d6440a0e35bf8b67311add2df68d78f;hb=6302669b796eadd6994ecdc2e70f0119b29194dd;hp=aef5f6f5c4370d874c82dec2ffad2feb8fe95eba;hpb=61e2d27c1bfa070a58373ab1296d7f1d0231c219;p=inkscape.git diff --git a/src/vanishing-point.h b/src/vanishing-point.h index aef5f6f5c..9fcb6bb46 100644 --- a/src/vanishing-point.h +++ b/src/vanishing-point.h @@ -13,7 +13,7 @@ #define SEEN_VANISHING_POINT_H #include -#include "libnr/nr-point.h" +#include <2geom/point.h> #include "knot.h" #include "selection.h" #include "axis-manip.h" @@ -66,8 +66,8 @@ public: g_return_val_if_fail (_persp, false); return persp3d_get_VP (_persp, _axis).is_finite(); } - inline NR::Point get_pos() const { - g_return_val_if_fail (_persp, NR::Point (NR_HUGE, NR_HUGE)); + inline Geom::Point get_pos() const { + g_return_val_if_fail (_persp, Geom::Point (NR_HUGE, NR_HUGE)); return persp3d_get_VP (_persp,_axis).affine(); } inline Persp3D * get_perspective() const { @@ -122,16 +122,16 @@ struct less_ptr : public std::binary_function