Logo Search packages:      
Sourcecode: inkscape version File versions

nodepath.h File Reference


Detailed Description

Path handler in node edit mode

Definition in file nodepath.h.

#include "knot.h"
#include "sp-path.h"
#include "desktop-handles.h"
#include "libnr/nr-path-code.h"
#include "xml/xml-forward.h"
#include <list>

Go to the source code of this file.

Namespaces

namespace  Path

Classes

class  Path::Node
class  Path::NodeSide
class  Path::Path
class  Path::SubPath
class  Radial

Functions

gboolean node_key (GdkEvent *event)
gboolean nodepath_repr_d_changed (Path::Path *np, const char *newd)
 Returns true if the argument nodepath and the d attribute in its repr do not match. This may happen if repr was changed in e.g. XML editor or by undo. UGLY HACK, think how we can eliminate it.
gboolean nodepath_repr_typestr_changed (Path::Path *np, const char *newtypestr)
 Returns true if the argument nodepath and the sodipodi:nodetypes attribute in its repr do not match. This may happen if repr was changed in e.g. XML editor or by undo.
void restore_nodepath_selection (Path::Path *nodepath, GList *r)
 Restores selection by selecting nodes whose positions are in the list.
GList * save_nodepath_selection (Path::Path *nodepath)
 Saves selected nodes in a nodepath into a list containing integer positions of all selected nodes.
void sp_node_selected_add_node (void)
void sp_node_selected_break (void)
void sp_node_selected_delete (void)
void sp_node_selected_delete_segment (void)
void sp_node_selected_duplicate (void)
 duplicate selected nodes
void sp_node_selected_join (void)
void sp_node_selected_join_segment (void)
void sp_node_selected_move (gdouble dx, gdouble dy)
void sp_node_selected_move_screen (gdouble dx, gdouble dy)
void sp_node_selected_set_line_type (NRPathcode code)
void sp_node_selected_set_type (Path::NodeType type)
void sp_nodepath_deselect (Path::Path *nodepath)
 deselect all nodes in the nodepath
void sp_nodepath_destroy (Path::Path *nodepath)
Path::Pathsp_nodepath_new (SPDesktop *desktop, SPItem *item)
 Creates new nodepath from item.
void sp_nodepath_select_all (Path::Path *nodepath)
 select all nodes in the nodepath
void sp_nodepath_select_next (Path::Path *nodepath)
 select the node after the last selected; if none is selected, select the first within path
void sp_nodepath_select_prev (Path::Path *nodepath)
 select the node before the first selected; if none is selected, select the last within path
void sp_nodepath_select_rect (Path::Path *nodepath, NRRect *b, gboolean incremental)
 select all nodes that are within the rectangle
void sp_nodepath_selected_align (Path::Path *nodepath, NR::Dim2 axis)
void sp_nodepath_selected_distribute (Path::Path *nodepath, NR::Dim2 axis)
void sp_nodepath_selected_nodes_rotate (Path::Path *nodepath, gdouble angle, int which)
void sp_nodepath_selected_nodes_rotate_screen (Path::Path *nodepath, gdouble angle, int which)
void sp_nodepath_selected_nodes_scale (Path::Path *nodepath, gdouble grow, int which)
void sp_nodepath_selected_nodes_scale_screen (Path::Path *nodepath, gdouble grow, int which)
void sp_nodepath_update_statusbar (Path::Path *nodepath)


Generated by  Doxygen 1.6.0   Back to index