Definition in file nodepath.h.
#include "libnr/nr-path-code.h"
#include <glibmm/ustring.h>
#include <gdk/gdkevents.h>
#include <list>
#include <2geom/point.h>
#include <2geom/matrix.h>
#include <boost/optional.hpp>
Go to the source code of this file.
Namespaces | |
namespace | Inkscape |
namespace | Inkscape::LivePathEffect |
namespace | Inkscape::NodePath |
namespace | Inkscape::XML |
Classes | |
class | Inkscape::NodePath::Node |
class | Inkscape::NodePath::NodeSide |
class | Inkscape::NodePath::Path |
class | Radial |
class | Inkscape::NodePath::SubPath |
Typedefs | |
typedef std::map < Inkscape::LivePathEffect::Effect *, std::vector< SPCanvasItem * > > | HelperPathList |
Enumerations | |
enum | { SCULPT_PROFILE_LINEAR, SCULPT_PROFILE_BELL, SCULPT_PROFILE_ELLIPTIC } |
enum | NodeType { Inkscape::NodePath::NODE_NONE, Inkscape::NodePath::NODE_CUSP, Inkscape::NodePath::NODE_SMOOTH, Inkscape::NodePath::NODE_AUTO, Inkscape::NodePath::NODE_SYMM } |
Functions | |
gboolean | node_key (GdkEvent *event) |
gboolean | nodepath_repr_d_changed (Inkscape::NodePath::Path *np, const char *newd) |
gboolean | nodepath_repr_typestr_changed (Inkscape::NodePath::Path *np, const char *newtypestr) |
void | restore_nodepath_selection (Inkscape::NodePath::Path *nodepath, GList *r) |
Restores selection by selecting nodes whose positions are in the list. | |
GList * | save_nodepath_selection (Inkscape::NodePath::Path *nodepath) |
Saves selected nodes in a nodepath into a list containing integer positions of all selected nodes. | |
void | sp_node_delete_preserve (GList *nodes_to_delete) |
void | sp_node_selected_add_node (Inkscape::NodePath::Path *nodepath) |
Geom::Rect | sp_node_selected_bbox (Inkscape::NodePath::Path *nodepath) |
void | sp_node_selected_break (Inkscape::NodePath::Path *nodepath) |
boost::optional< Geom::Coord > | sp_node_selected_common_coord (Inkscape::NodePath::Path *nodepath, Geom::Dim2 axis) |
void | sp_node_selected_delete (Inkscape::NodePath::Path *nodepath) |
void | sp_node_selected_delete_segment (Inkscape::NodePath::Path *nodepath) |
void | sp_node_selected_duplicate (Inkscape::NodePath::Path *nodepath) |
void | sp_node_selected_join (Inkscape::NodePath::Path *nodepath) |
void | sp_node_selected_join_segment (Inkscape::NodePath::Path *nodepath) |
void | sp_node_selected_move (Inkscape::NodePath::Path *nodepath, gdouble dx, gdouble dy) |
void | sp_node_selected_move_absolute (Inkscape::NodePath::Path *nodepath, Geom::Coord val, Geom::Dim2 axis) |
void | sp_node_selected_move_screen (SPDesktop *desktop, Inkscape::NodePath::Path *nodepath, gdouble dx, gdouble dy) |
void | sp_node_selected_set_line_type (Inkscape::NodePath::Path *nodepath, NRPathcode code) |
void | sp_node_selected_set_type (Inkscape::NodePath::Path *nodepath, Inkscape::NodePath::NodeType type) |
bool | sp_node_side_is_line (Inkscape::NodePath::Node *node, Inkscape::NodePath::NodeSide *side) |
void | sp_nodepath_add_node_near_point (Inkscape::NodePath::Path *nodepath, Geom::Point p) |
void | sp_nodepath_curve_drag (Inkscape::NodePath::Path *nodepath, int node, double t, Geom::Point delta) |
void | sp_nodepath_deselect (Inkscape::NodePath::Path *nodepath) |
Deselect all nodes in the nodepath. | |
void | sp_nodepath_flip (Inkscape::NodePath::Path *nodepath, Geom::Dim2 axis, boost::optional< Geom::Point > center) |
SPCanvasItem * | sp_nodepath_generate_helperpath (SPDesktop *desktop, SPItem *item) |
SPCanvasItem * | sp_nodepath_generate_helperpath (SPDesktop *desktop, SPCurve *curve, const Geom::Matrix &i2d, guint32 color) |
Inkscape::NodePath::Node * | sp_nodepath_get_node_by_index (Inkscape::NodePath::Path *np, int index) |
void | sp_nodepath_make_straight_path (Inkscape::NodePath::Path *np) |
Inkscape::NodePath::Path * | sp_nodepath_new (SPDesktop *desktop, SPObject *object, bool show_handles, const char *repr_key=NULL, SPItem *item=NULL) |
Creates new nodepath from item. | |
void | sp_nodepath_select_all (Inkscape::NodePath::Path *nodepath, bool invert) |
Select or invert selection of all nodes in the nodepath. | |
void | sp_nodepath_select_all_from_subpath (Inkscape::NodePath::Path *nodepath, bool invert) |
void | sp_nodepath_select_next (Inkscape::NodePath::Path *nodepath) |
Select the node after the last selected; if none is selected, select the first within path. | |
void | sp_nodepath_select_prev (Inkscape::NodePath::Path *nodepath) |
Select the node before the first selected; if none is selected, select the last within path. | |
void | sp_nodepath_select_rect (Inkscape::NodePath::Path *nodepath, Geom::Rect const &b, gboolean incremental) |
Select all nodes that are within the rectangle. | |
void | sp_nodepath_select_segment_near_point (Inkscape::NodePath::Path *nodepath, Geom::Point p, bool toggle) |
void | sp_nodepath_selected_align (Inkscape::NodePath::Path *nodepath, Geom::Dim2 axis) |
void | sp_nodepath_selected_distribute (Inkscape::NodePath::Path *nodepath, Geom::Dim2 axis) |
void | sp_nodepath_selected_nodes_rotate (Inkscape::NodePath::Path *nodepath, gdouble angle, int which, bool screen) |
void | sp_nodepath_selected_nodes_scale (Inkscape::NodePath::Path *nodepath, gdouble grow, int which) |
void | sp_nodepath_selected_nodes_scale_screen (Inkscape::NodePath::Path *nodepath, gdouble grow, int which) |
void | sp_nodepath_show_handles (Inkscape::NodePath::Path *nodepath, bool show) |
void | sp_nodepath_show_helperpath (Inkscape::NodePath::Path *nodepath, bool show) |
void | sp_nodepath_update_helperpaths (Inkscape::NodePath::Path *np) |
void | sp_nodepath_update_repr (Inkscape::NodePath::Path *np, const gchar *annotation) |
void | sp_nodepath_update_statusbar (Inkscape::NodePath::Path *nodepath) |
!!move to ShapeEditorsCollection |