~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/nodepath.h

  • Committer: cilix42
  • Date: 2008-09-18 17:48:42 UTC
  • Revision ID: cilix42@users.sourceforge.net-20080918174842-1ad33a7d7gqhv2hq
Next roud of NR ==> Geom conversion

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include <glibmm/ustring.h>
20
20
#include <gdk/gdkevents.h>
21
21
#include <list>
 
22
#include <2geom/forward.h>
 
23
#include <boost/optional.hpp>
 
24
 
22
25
 
23
26
struct SPCanvasItem;
24
27
class SPCurve;
61
64
 */
62
65
Radial(Geom::Point const &p)
63
66
{
64
 
        r = NR::L2(p);
 
67
        r = Geom::L2(p);
65
68
        if (r > 0) {
66
 
                a = NR::atan2 (p);
 
69
                a = Geom::atan2 (p);
67
70
        } else {
68
71
                a = HUGE_VAL; //undefined
69
72
        }
283
286
void sp_nodepath_select_all_from_subpath(Inkscape::NodePath::Path *nodepath, bool invert);
284
287
void sp_nodepath_select_next (Inkscape::NodePath::Path *nodepath);
285
288
void sp_nodepath_select_prev (Inkscape::NodePath::Path *nodepath);
286
 
void sp_nodepath_select_rect (Inkscape::NodePath::Path * nodepath, NR::Rect const &b, gboolean incremental);
 
289
void sp_nodepath_select_rect (Inkscape::NodePath::Path * nodepath, Geom::Rect const &b, gboolean incremental);
287
290
GList *save_nodepath_selection (Inkscape::NodePath::Path *nodepath);
288
291
void restore_nodepath_selection (Inkscape::NodePath::Path *nodepath, GList *r);
289
292
gboolean nodepath_repr_d_changed (Inkscape::NodePath::Path * np, const char *newd);