/inkscape/src/xml/ |
H A D | node-event-vector.h | 29 inline void sp_repr_synthesize_events (Inkscape::XML::Node *repr, const Inkscape::XML::NodeEventVector *vector, void* data) { argument 30 repr->synthesizeEvents(vector, data); 36 inline void sp_repr_add_listener (Inkscape::XML::Node *repr, const Inkscape::XML::NodeEventVector *vector, void* data) { argument 37 repr->addListener(vector, data);
|
H A D | composite-node-observer.cpp | 20 #include "xml/node-event-vector.h" 113 : vector(v), data(d) {} 115 NodeEventVector const &vector; member in class:Inkscape::XML::__anon552::VectorNodeObserver 119 if (vector.child_added) { 120 vector.child_added(&node, &child, prev, data); 125 if (vector.child_removed) { 126 vector.child_removed(&node, &child, prev, data); 131 if (vector.order_changed) { 132 vector.order_changed(&node, &child, old_prev, new_prev, data); 137 if (vector 151 addListener(NodeEventVector const &vector, void *data) argument [all...] |
H A D | simple-node.h | 100 void synthesizeEvents(NodeEventVector const *vector, void *data); 103 void addListener(NodeEventVector const *vector, void *data) { argument 104 assert(vector != NULL); 105 _observers.addListener(*vector, data);
|
H A D | simple-node.cpp | 26 #include "xml/node-event-vector.h" 583 void SimpleNode::synthesizeEvents(NodeEventVector const *vector, void *data) { argument 584 if (vector->attr_changed) { 588 vector->attr_changed(this, g_quark_to_string(iter->key), NULL, iter->value, false, data); 591 if (vector->child_added) { 596 vector->child_added(this, child, ref, data); 600 if (vector->content_changed) { 601 vector->content_changed(this, NULL, this->_content, data);
|
/inkscape/src/live_effects/parameter/ |
H A D | transformedpoint.h | 41 Geom::Point getVector() const { return vector; }; 44 void setVector(Geom::Point const &new_vector) { vector = new_vector; }; 65 Geom::Point vector; member in class:Inkscape::LivePathEffect::TransformedPointParam 69 /// The looks of the vector and origin knots oncanvas
|
H A D | vector.h | 40 Geom::Point getVector() const { return vector; }; 43 void setVector(Geom::Point const &new_vector) { vector = new_vector; }; 65 Geom::Point vector; member in class:Inkscape::LivePathEffect::VectorParam 67 /// The looks of the vector and origin knots oncanvas
|
H A D | array.h | 12 #include <vector> 43 std::vector<StorageType> const & data() const { 70 void param_setValue(std::vector<StorageType> const &new_vector) { 75 param_setValue( std::vector<StorageType>(_default_size) ); 78 void param_set_and_write_new_value(std::vector<StorageType> const &new_vector) { 87 std::vector<StorageType> _vector; 90 void writesvg(SVGOStringStream &str, std::vector<StorageType> const &vector) const { 91 for (unsigned int i = 0; i < vector.size(); ++i) { 96 str << vector[ local [all...] |
H A D | transformedpoint.cpp | 31 vector(default_vector), 80 os << origin << " , " << vector; local 96 pointwdg->setValue( vector, origin ); 98 pointwdg->set_undo_parameters(SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Change vector parameter")); 120 set_and_write_new_values( origin * postmul, vector * postmul.withoutTranslation() ); 151 return param->origin + param->vector; 154 g_print ("This is the vector handle associated to parameter '%s'\n", param->param_key.c_str());
|
H A D | vector.cpp | 10 #include "live_effects/parameter/vector.h" 30 vector(default_vector) 81 os << origin << " , " << vector; local 97 pointwdg->setValue( vector, origin ); 99 pointwdg->set_undo_parameters(SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Change vector parameter")); 120 set_and_write_new_values( origin * postmul, vector * postmul.withoutTranslation() ); 180 return param->origin + param->vector; 183 g_print ("This is the vector handle associated to parameter '%s'\n", param->param_key.c_str());
|
/inkscape/src/widgets/ |
H A D | swatch-selector.cpp | 118 void SwatchSelector::setVector(SPDocument */*doc*/, SPGradient *vector) argument 121 _gsel->setVector((vector) ? vector->document : 0, vector); 123 if ( vector && vector->isSolid() ) { 124 SPStop* stop = vector->getFirstStop();
|
H A D | fill-style.cpp | 286 SPGradient *vector = SP_GRADIENT(server)->getVector(); local 287 psel->setSwatch( vector ); 289 SPGradient *vector = SP_GRADIENT(server)->getVector(); local 290 psel->setGradientLinear( vector ); 296 SPGradient *vector = SP_GRADIENT(server)->getVector(); local 297 psel->setGradientRadial( vector ); 479 std::vector<SPItem*> const items = selection->itemList(); 553 SPGradient *vector = psel->getGradientVector(); local 554 if (!vector) { 555 /* No vector i [all...] |
H A D | gradient-selector.cpp | 2 * Gradient vector widget 22 #include "gradient-vector.h" 123 new (&sel->nonsolid) std::vector<GtkWidget*>(); 124 new (&sel->swatch_widgets) std::vector<GtkWidget*>(); 233 using std::vector; 234 sel->nonsolid.~vector<GtkWidget*>(); 235 sel->swatch_widgets.~vector<GtkWidget*>(); 271 for (std::vector<GtkWidget*>::iterator it = nonsolid.begin(); it != nonsolid.end(); ++it) 275 for (std::vector<GtkWidget*>::iterator it = swatch_widgets.begin(); it != swatch_widgets.end(); ++it) 286 for (std::vector<GtkWidge 391 _checkForSelected(const Gtk::TreePath &path, const Gtk::TreeIter& iter, SPGradient *vector) argument 410 selectGradientInTree(SPGradient *vector) argument 415 setVector(SPDocument *doc, SPGradient *vector) argument 424 sp_gradient_vector_selector_set_gradient(SP_GRADIENT_VECTOR_SELECTOR(vectors), doc, vector); local [all...] |
H A D | stroke-marker-selector.cpp | 39 #include "gradient-vector.h" 507 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary (SP_GRADIENT(linkObj), false); local 508 if (vector) { 509 Inkscape::XML::Node *grepr = vector->getRepr()->duplicate(xml_doc); 510 SPObject *oldmarker = sandbox->getObjectById(vector->getId());
|
/inkscape/src/2geom/numeric/ |
H A D | linear_system.h | 43 #include <2geom/numeric/vector.h> 65 && matrix().rows() == vector().size() ); 71 vector().get_gsl_vector(), 81 && matrix().rows() == vector().size() ); 90 gsl_vector* b = vector().get_gsl_vector(); 107 VectorView & vector() function in class:Geom::NL::LinearSystem
|
/inkscape/src/2geom/ |
H A D | transforms.cpp | 148 Affine reflection(Point const & vector, Point const & origin) argument 150 Geom::Point vn = unit_vector(vector);
|
H A D | ray.h | 34 #include <vector> 69 Point vector() const { return _vector; } function in class:Geom::Ray 92 std::vector<Coord> roots(Coord v, Dim2 d) const { 93 std::vector<Coord> result; 138 return are_near(r1.vector(), r2.vector(), eps) 146 double angle = angle_between(r1.vector(), r2.vector()); 174 Ray bisector(r1.origin(), r1.origin() + r1.vector() * Rotate(angle_between(r1, r2) / 2.0));
|
H A D | line.h | 101 , _final(r.origin() + r.vector()) 104 /// Create a line normal to a vector at a specified distance from origin. 110 /** @brief Create a line from origin and unit vector. 113 * @param v Unit vector of the line's direction */ 129 /** @brief Get the line's raw direction vector. 130 * The retrieved vector is normalized to unit length. */ 131 Point vector() const { return _final - _initial; } function in class:Geom::Line 132 /** @brief Get the line's normalized direction vector. 133 * The retrieved vector is normalized to unit length. */ 177 /** @brief Get the coefficients of the line equation as a vector [all...] |
/inkscape/src/ |
H A D | sp-gradient.h | 21 #include <vector> 26 #include "sp-gradient-vector.h" 74 * Convenience function to access a common vector of all enum values. 76 std::vector<PaintTarget> const &allPaintTargets(); 121 /** Composed vector */ 122 SPGradientVector vector; member in class:SPGradient 153 * Returns private vector of given gradient (the gradient at the end of the href chain which has 163 /** Forces vector to be built, if not present (i.e. changed) */
|
H A D | gradient-chemistry.cpp | 21 #include "widgets/gradient-vector.h" 41 #include "sp-gradient-vector.h" 65 std::vector<Inkscape::PaintTarget> vectorOfPaintTargets(paintTargetItems, paintTargetItems + (sizeof(paintTargetItems) / sizeof(paintTargetItems[0]))); 71 std::vector<PaintTarget> const &allPaintTargets() 80 // "vector" is a gradient that has stops but not position coords. It can be referenced by one or 84 // radial). It references a vector for the actual colors. Each private is only used by one 97 /* If we are already normalized vector, just return */ 101 g_warning("file %s: line %d: Cannot normalize private gradient to vector (%s)", __FILE__, __LINE__, gr->getId()); 105 /* First make sure we have vector directly defined (i.e. gr has its own stops) */ 109 g_assert(gr->vector 132 sp_gradient_get_private_normalized(SPDocument *document, SPGradient *vector, SPGradientType type) argument 213 sp_gradient_fork_private_if_necessary(SPGradient *gr, SPGradient *vector, SPGradientType type, SPObject *o) argument 319 SPGradient *vector = gradient->getVector(force_vector); local 638 sp_vector_add_stop(SPGradient *vector, SPStop* prev_stop, SPStop* next_stop, gfloat offset) argument 673 SPGradient *vector = gradient->getVector(); local 717 SPGradient *vector = gradient->getVector(); local 811 SPGradient *vector = gradient->getVector(); local 1072 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary (lg, false); local 1167 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary (rg, false); local 1184 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary(rg, false); local [all...] |
/inkscape/src/ui/tools/ |
H A D | mesh-tool.cpp | 330 std::map<SPMesh*, std::vector<guint> > points; 338 for (std::vector<GrDraggable *>::const_iterator j = dragger->draggables.begin(); j != dragger->draggables.end() ; ++j) { 354 for( std::map<SPMesh*, std::vector<guint> >::const_iterator iter = points.begin(); iter != points.end(); ++iter) { 461 for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() && (!over_line); ++l) { 473 std::vector<SPItem*> items=selection->itemList(); 474 for(std::vector<SPItem*>::const_iterator i=items.begin();i!=items.end();++i){ 482 SPGradient *vector = sp_gradient_vector_for_object(desktop->getDocument(), desktop, item, fsmode); local 484 SPGradient *priv = sp_item_set_gradient(item, vector, new_type, fsmode); 597 for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() ; ++l) { 628 for (std::vector<SPCtrlLin 941 SPGradient *vector; local [all...] |
H A D | gradient-tool.cpp | 222 static std::vector<Geom::Point> 225 std::vector<Geom::Point> coords; 233 for (std::vector<GrDraggable *>::const_iterator j = dragger->draggables.begin(); j != dragger->draggables.end(); ++j) { 238 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary (gradient, false); local 249 SPStop *this_stop = sp_get_stop_i (vector, d->point_i); 251 SPStop *last_stop = sp_last_stop (vector); 314 std::vector<Geom::Point> coords = sp_gradient_context_get_stop_intervals (drag, &these_stops, &next_stops); 319 for (std::vector<GrDraggable *>::const_iterator j = dragger->draggables.begin(); j != dragger->draggables.end(); ++j) { 329 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary (gradient, false); local 330 SPStop *this_stop = sp_get_stop_i (vector, 503 SPGradient *vector = sp_gradient_vector_for_object(desktop->getDocument(), desktop, item, fsmode); local 893 SPGradient *vector; local [all...] |
H A D | tweak-tool.cpp | 360 sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, Geom::Point p, Geom::Point vector, gint mode, double radius, double force, double fidelity, bool reverse) argument 374 std::vector<SPItem*> items; 376 std::vector<SPItem*> selected; 377 std::vector<Inkscape::XML::Node*> to_select; 397 if (sp_tweak_dilate_recursive (selection, child, p, vector, mode, radius, force, fidelity, reverse)) { 412 Geom::Point move = force * 0.5 * (cos(M_PI * x) + 1) * vector; 560 if (Geom::L2(vector) != 0) { 561 vector = 1/Geom::L2(vector) * vector; 830 SPGradient *vector = sp_gradient_get_forked_vector_if_necessary(gradient, false); local 1021 sp_tweak_dilate(TweakTool *tc, Geom::Point event_p, Geom::Point p, Geom::Point vector, bool reverse) argument [all...] |
/inkscape/src/ui/widget/ |
H A D | layer-selector.cpp | 35 #include "xml/node-event-vector.h" 36 #include "widgets/gradient-vector.h" 463 Inkscape::XML::NodeEventVector *vector; local 494 vector = new Inkscape::XML::NodeEventVector(events); 504 vector = new Inkscape::XML::NodeEventVector(events); 519 sp_repr_add_listener(object.getRepr(), vector, callbacks);
|
H A D | registered-widget.cpp | 739 Geom::Point vector = getValue(); local 741 vector = Geom::Point::polar(vector[Geom::X]*M_PI/180, vector[Geom::Y]); 745 os << origin << " , " << vector; local
|
/inkscape/src/livarot/ |
H A D | ShapeMisc.cpp | 543 Shape::MakeTweak (int mode, Shape *a, double power, JoinType join, double miter, bool do_profile, Geom::Point c, Geom::Point vector, double radius, Geom::Affine *i2doc) argument 655 this_vec = this_power * (vector * tovec) ;
|