index 99e183b4530c656ecca0c4ab9ec929394ab974e6..a8f1c957ee5f4a2a499afb3ae1035d4f72c8c41b 100644 (file)
class PathCanvasGroups;
class MultiPathManipulator;
class Node;
+class Handle;
struct PathSharedData {
NodeSharedData node_data;
void breakNodes();
void deleteNodes(bool keep_shape = true);
void deleteSegments();
- void reverseSubpaths();
+ void reverseSubpaths(bool selected_only);
void setSegmentType(SegmentType);
+ void scaleHandle(Node *n, int which, int dir, bool pixel);
+ void rotateHandle(Node *n, int which, int dir, bool pixel);
+
void showOutline(bool show);
void showHandles(bool show);
void showPathDirection(bool show);
+ void setLiveOutline(bool set);
+ void setLiveObjects(bool set);
void setControlsTransform(Geom::Matrix const &);
void hideDragPoint();
+ MultiPathManipulator &mpm() { return _multi_path_manipulator; }
NodeList::iterator subdivideSegment(NodeList::iterator after, double t);
NodeList::iterator extremeNode(NodeList::iterator origin, bool search_selected,
void _createControlPointsFromGeometry();
void _createGeometryFromControlPoints();
+ unsigned _deleteStretch(NodeList::iterator first, NodeList::iterator last, bool keep_shape);
std::string _createTypeString();
void _updateOutline();
//void _setOutline(Geom::PathVector const &);
Glib::ustring _nodetypesKey();
Inkscape::XML::Node *_getXMLNode();
- void _attachNodeHandlers(Node *n);
- void _removeNodeHandlers(Node *n);
-
void _selectionChanged(SelectableControlPoint *p, bool selected);
bool _nodeClicked(Node *, GdkEventButton *);
void _handleGrabbed();
bool _handleClicked(Handle *, GdkEventButton *);
void _handleUngrabbed();
+
void _externalChange(unsigned type);
void _removeNodesFromSelection();
void _commit(Glib::ustring const &annotation);
+ void _commit(Glib::ustring const &annotation, gchar const *key);
void _updateDragPoint(Geom::Point const &);
void _updateOutlineOnZoomChange();
double _getStrokeTolerance();
+ Handle *_chooseHandle(Node *n, int which);
SubpathList _subpaths;
MultiPathManipulator &_multi_path_manipulator;
bool _show_handles;
bool _show_outline;
bool _show_path_direction;
+ bool _live_outline;
+ bool _live_objects;
Glib::ustring _lpe_key;
friend class PathManipulatorObserver;
friend class CurveDragPoint;
friend class Node;
+ friend class Handle;
};
} // namespace UI