Searched defs:guide (Results 1 - 7 of 7) sorted by relevance
/inkscape/src/ |
H A D | snap.h | 21 #include "guide-snapper.h" 312 * Wrapper method to make snapping of the guide origin a bit easier (i.e. simplifies the calling code). 316 * @param p Current position of the point on the guide that is to be snapped; will be overwritten by the position of the snap target if snapping has occurred. 317 * @param origin_or_vector Data used for tangential and perpendicular snapping. When rotating a guide the origin of the rotation is specified here, whereas when 318 * dragging a guide its vector is specified here 320 * @param freeze_angle If true (in which case origin is false), then the vector specified in origin_or_vector will not be touched, i.e. the guide will 321 * in all circumstances keep its angle. Otherwise the vector in origin_or_vector can be updated, meaning that the guide might take on the angle of a curve that 327 * Wrapper method to make snapping of the guide origin a bit easier (i.e. simplifies the calling code). 331 * @param p Current position of the point on the guide that is to be snapped; will be overwritten by the position of the snap target if snapping has occurred. 332 * @param guideline The guide tha 336 Inkscape::GuideSnapper guide; ///< guide snapper member in class:SnapManager [all...] |
H A D | desktop-events.cpp | 47 #include "sp-guide.h" 61 void sp_dt_ruler_snap_new_guide(SPDesktop *desktop, SPCanvasItem *guide, Geom::Point &event_dt, Geom::Point &normal); 90 static SPCanvasItem *guide = NULL; local 160 guide = sp_guideline_new(desktop->guides, NULL, event_dt, normal); 161 sp_guideline_set_color(SP_GUIDELINE(guide), desktop->namedview->guidehicolor); 193 // explicitly show guidelines; if I draw a guide, I want them on 199 sp_dt_ruler_snap_new_guide(desktop, guide, event_dt, normal); 201 sp_guideline_set_normal(SP_GUIDELINE(guide), normal); 202 sp_guideline_set_position(SP_GUIDELINE(guide), event_dt); 221 sp_dt_ruler_snap_new_guide(desktop, guide, event_d 294 SPGuide *guide = SP_GUIDE(data); local [all...] |
H A D | sp-guide.cpp | 32 #include "sp-guide.h" 35 #include <sp-guide-constraint.h> 82 document->addResource("guide", this); 94 this->document->removeResource("guide", this); 203 Inkscape::XML::Node *repr = xml_doc->createElement("sodipodi:guide"); 233 SPGuide *guide= SP_GUIDE(doc->getObjectByRepr(repr)); local 234 return guide; 267 std::set<SPObject *> current = doc->getResourceList("guide"); 269 SPGuide* guide = SP_GUIDE(*(current.begin())); local 270 sp_guide_remove(guide); 525 sp_guide_remove(SPGuide *guide) argument [all...] |
H A D | sp-namedview.cpp | 33 #include "sp-guide.h" 55 static void sp_namedview_show_single_guide(SPGuide* guide, bool show); 56 static void sp_namedview_lock_single_guide(SPGuide* guide, bool show); 226 this->readAttr( "inkscape:snap-from-guide" ); 954 static void sp_namedview_show_single_guide(SPGuide* guide, bool show) argument 957 guide->showSPGuide(); 959 guide->hideSPGuide(); 963 static void sp_namedview_lock_single_guide(SPGuide* guide, bool locked) argument 965 guide->set_locked(locked, true); 1100 sp_repr_set_boolean(this->getRepr(), "inkscape:guide 1179 SPGuide &guide = *(*it); local [all...] |
/inkscape/src/ui/dialog/ |
H A D | guides.cpp | 25 #include "sp-guide.h" 45 GuidelinePropertiesDialog::GuidelinePropertiesDialog(SPGuide *guide, SPDesktop *desktop) argument 46 : _desktop(desktop), _guide(guide), 48 _relative_toggle(_("Rela_tive change"), _("Move and/or rotate the guide relative to current settings")), 66 void GuidelinePropertiesDialog::showDialog(SPGuide *guide, SPDesktop *desktop) { argument 67 GuidelinePropertiesDialog dialog(guide, desktop); 139 _("Set guide properties")); 147 _("Delete guide"));
|
/inkscape/src/libcola/ |
H A D | gradient_projection.h | 30 guide(NULL), 38 void* guide; member in class:AlignmentConstraint
|
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 858 Inkscape::XML::Node *guide; local 859 guide = xml_doc->createElement("sodipodi:guide"); 863 guide->setAttribute("position", position.str().c_str() ); 864 guide->setAttribute("inkscape:color", "rgb(167,0,255)"); 865 guide->setAttribute("inkscape:label", label); 870 guide->setAttribute("orientation", angle_str.str().c_str()); 871 namedview->appendChild(guide); 872 Inkscape::GC::release(guide);
|
Completed in 64 milliseconds