/inkscape/src/ |
H A D | guide-snapper.cpp | 69 void Inkscape::GuideSnapper::_addSnappedLine(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, Geom::Point const &normal_to_line, Geom::Point const &point_on_line) const argument 71 SnappedLine dummy = SnappedLine(snapped_point, snapped_distance, source, source_num, Inkscape::SNAPTARGET_GUIDE, getSnapperTolerance(), getSnapperAlwaysSnap(), normal_to_line, point_on_line); 75 void Inkscape::GuideSnapper::_addSnappedLinesOrigin(IntermSnapResults &isr, Geom::Point const &origin, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 77 SnappedPoint dummy = SnappedPoint(origin, source, source_num, Inkscape::SNAPTARGET_GUIDE_ORIGIN, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true); 81 void Inkscape::GuideSnapper::_addSnappedLinePerpendicularly(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 83 SnappedPoint dummy = SnappedPoint(snapped_point, source, source_num, Inkscape::SNAPTARGET_GUIDE_PERPENDICULAR, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true); 87 void Inkscape::GuideSnapper::_addSnappedPoint(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 89 SnappedPoint dummy = SnappedPoint(snapped_point, source, source_num, Inkscape::SNAPTARGET_GUIDE, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true);
|
H A D | snapped-point.cpp | 17 Inkscape::SnappedPoint::SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained, Geom::OptRect target_bbox) : argument 20 _source(source), 57 Inkscape::SnappedPoint::SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &at_intersection, bool const &constrained_snap, bool const &fully_constrained, Geom::Coord const &d2, Geom::Coord const &t2, bool const &a2) : argument 60 _source(source), 161 // The distance to the pointer should only be taken into account when finding the best snapped source node (when
|
H A D | snapped-curve.cpp | 15 Inkscape::SnappedCurve::SnappedCurve(Geom::Point const &snapped_point, Geom::Point const &tangent, int num_path, int num_segm, Geom::Coord const &snapped_distance, Geom::Coord const &snapped_tolerance, bool const &always_snap, bool const &fully_constrained, Geom::Curve const *curve, SnapSourceType source, long source_num, SnapTargetType target, Geom::OptRect target_bbox) argument 30 _source = source;
|
H A D | snapped-line.cpp | 14 Inkscape::SnappedLineSegment::SnappedLineSegment(Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &snapped_tolerance, bool const &always_snap, Geom::Point const &start_point_of_line, Geom::Point const &end_point_of_line) argument 18 _source = source; 93 Inkscape::SnappedLine::SnappedLine(Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &snapped_tolerance, bool const &always_snap, Geom::Point const &normal_to_line, Geom::Point const &point_on_line) argument 96 _source = source;
|
H A D | snap-candidate.h | 27 /// Class to store data for points which are snap candidates, either as a source or as a target 33 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, long const source_num, Inkscape::SnapTargetType const target, Geom::OptRect const &bbox) argument 35 _source_type(source), 43 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, Inkscape::SnapTargetType const target) argument 45 _source_type(source), 53 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source) argument 55 _source_type(source), 92 // If this SnapCandidatePoint is a snap source, then _source_type must be defined. If it 94 // be a source or target, then both may be defined 98 //Sequence number of the source poin [all...] |
H A D | snapped-point.h | 31 SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &at_intersection, bool const &constrained_snap, bool const &fully_constrained, Geom::Coord const &d2, Geom::Coord const &t2, bool const &a2); 32 SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained, Geom::OptRect target_bbox = Geom::OptRect()); 73 void setSource(SnapSourceType const source) {_source = source;} argument 100 long _source_num; // Sequence number of the source point that snapped, if that point is part of a set of points. (starting at zero if we might have a set of points; -1 if we only have a single point)
|
H A D | desktop-events.cpp | 670 GdkInputSource source = GDK_SOURCE_MOUSE; local 678 source = gdk_device_get_source(event2->device); 691 source = gdk_device_get_source(event2->device); 701 source = gdk_device_get_source(event2->device); 712 source = gdk_device_get_source(event2->device); 723 if ( lastType != source || lastName != name ) { 739 lastType = source;
|
H A D | device-manager.cpp | 33 Gdk::InputSource source; member in struct:GdkDeviceFake 49 const bool source_matches = (device->get_source() == (*it).source); 83 static Glib::ustring getBaseDeviceName(Gdk::InputSource source) argument 86 switch (source) { 176 virtual Gdk::InputSource getSource() const {return source;} 201 static Glib::ustring createId(Glib::ustring const &id, Gdk::InputSource source, std::set<Glib::ustring> &knownIDs); 206 Gdk::InputSource source; member in class:Inkscape::InputDeviceImpl 235 source(device->get_source()), 240 id = createId(name, source, knownIDs); 245 Gdk::InputSource source, 244 createId(Glib::ustring const &id, Gdk::InputSource source, std::set<Glib::ustring> &knownIDs) argument [all...] |
H A D | object-snapper.cpp | 212 // snap source and snap target (see sp_shape_snappoints) 802 bool Inkscape::ObjectSnapper::_allowSourceToSnapToTarget(SnapSourceType source, SnapTargetType target, bool strict_snapping) const argument 807 if (((source & SNAPSOURCE_BBOX_CATEGORY) && (target & SNAPTARGET_NODE_CATEGORY)) || 808 ((source & SNAPSOURCE_NODE_CATEGORY) && (target & SNAPTARGET_BBOX_CATEGORY))) {
|
H A D | sp-item-group.cpp | 469 // We should not apply the group's transformation to both a linked offset AND to its source 471 SPItem *source = sp_offset_get_source(dynamic_cast<SPOffset *>(citem)); local 473 // tied to the transformation of the top-most source, not to any of the intermediate 474 // offsets. So let's find the top-most source 475 while (source != NULL && dynamic_cast<SPOffset *>(source)) { 476 source = sp_offset_get_source(dynamic_cast<SPOffset *>(source)); 478 if (source != NULL && // If true then we must be dealing with a linked offset ... 479 group->isAncestorOf(source) ) { // [all...] |
H A D | document.cpp | 490 // Load a fresh document from the svg source. 1680 void SPDocument::importDefs(SPDocument *source) argument 1682 Inkscape::XML::Node *root = source->getReprRoot(); 1686 prevent_id_clashes(source, this); 1689 importDefsNode(source, const_cast<Inkscape::XML::Node *>(*defs), target_defs); 1693 void SPDocument::importDefsNode(SPDocument *source, Inkscape::XML::Node *defs, Inkscape::XML::Node *target_defs) argument 1744 SPObject *src = source->getObjectByRepr(def); 1773 SPObject *src = source->getObjectByRepr(def); 1777 SPObject *trg = source->getObjectByRepr(laterDef); 1805 SPObject *src = source [all...] |
H A D | splivarot.cpp | 135 // take the source paths from the file, do the operation, delete the originals and add the results 141 // extract the livarot Paths from the source objects 186 // the Booleen need to invert the ones inside the source polygon (for the subsequent 243 // we need to check that at least one edge from the source path is incident to it 252 // the source has an edge incident to the point, get its position on the path 266 // note that you only keep one position on the source; you could have degenerate 267 // cases where the source crosses itself at this point, and you wouyld miss an intersection 333 // take the source paths from the file, do the operation, delete the originals and add the results 413 // extract the livarot Paths from the source objects 537 // the Booleen need to invert the ones inside the source polygo 683 SPObject *source; local [all...] |
/inkscape/src/libdepixelize/priv/ |
H A D | splines-kopf2011.h | 45 std::vector< Point<T> > source; local 48 source = Tracer::optimize(source1); 50 source = source1; 52 iterator it = source.begin(); 53 Point<T> prev = source.back(); 56 for ( iterator end = source.end() ; it != end ; ++it ) { 73 Point<T> next = (it + 1 == end) ? source.front() : *(it + 1); 93 void worker(const typename HomogeneousSplines<T>::Polygon &source, argument 96 //dest.pathVector.reserve(source.holes.size() + 1); 99 dest.rgba[i] = source [all...] |
/inkscape/src/io/ |
H A D | uristream.cpp | 91 UriInputStream::UriInputStream(Inkscape::URI &source) argument 92 : uri(source) 132 UriInputStream::UriInputStream(FILE *source, Inkscape::URI &uri) argument 134 inf(source),
|
H A D | inkscapestream.h | 45 * BasicInputStream. Inherit from this class to make a source endpoint, 117 InputStream &source; member in class:Inkscape::IO::BasicInputStream 379 Reader *source; member in class:Inkscape::IO::BasicReader 382 { source = NULL; } 659 void pipeStream(InputStream &source, OutputStream &dest);
|
H A D | inkscapestream.cpp | 26 void pipeStream(InputStream &source, OutputStream &dest) argument 30 int ch = source.get(); 47 : source(sourceStream) 61 return source.available(); 73 source.close(); 84 return source.get(); 146 source = &sourceReader; 156 if (source) 157 return source->available(); 169 if (source) [all...] |
/inkscape/src/extension/internal/filter/ |
H A D | transparency.h | 55 "<param name=\"source\" gui-text=\"" N_("Source:") "\" type=\"enum\">\n" 85 std::ostringstream source; local 88 source << ext->get_param_enum("source"); 94 "</filter>\n", source.str().c_str(), mode.str().c_str() );
|
/inkscape/src/ui/dialog/ |
H A D | polar-arrange-tab.cpp | 227 Geom::Point source; local 236 source[0] = bbox->min()[Geom::X]; 241 source[0] = (bbox->min()[Geom::X] + bbox->max()[Geom::X]) / 2.0f; 246 source[0] = bbox->max()[Geom::X]; 255 source[1] = bbox->min()[Geom::Y]; 260 source[1] = (bbox->min()[Geom::Y] + bbox->max()[Geom::Y]) / 2.0f; 265 source[1] = bbox->max()[Geom::Y]; 271 source = item->getCenter(); 275 source[1] -= item->document->getHeight().value("px"); 276 source[ [all...] |
/inkscape/src/display/ |
H A D | drawing-context.h | 104 void setSource(cairo_pattern_t *source) { cairo_set_source(_ct, source); } argument
|
H A D | canvas-axonomgrid.cpp | 776 void CanvasAxonomGridSnapper::_addSnappedLine(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, Geom::Point const &normal_to_line, Geom::Point const &point_on_line) const argument 778 SnappedLine dummy = SnappedLine(snapped_point, snapped_distance, source, source_num, Inkscape::SNAPTARGET_GRID, getSnapperTolerance(), getSnapperAlwaysSnap(), normal_to_line, point_on_line); 782 void CanvasAxonomGridSnapper::_addSnappedPoint(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 784 SnappedPoint dummy = SnappedPoint(snapped_point, source, source_num, Inkscape::SNAPTARGET_GRID, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true); 788 void CanvasAxonomGridSnapper::_addSnappedLinePerpendicularly(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 790 SnappedPoint dummy = SnappedPoint(snapped_point, source, source_num, Inkscape::SNAPTARGET_GRID_PERPENDICULAR, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true);
|
H A D | canvas-grid.cpp | 1060 void CanvasXYGridSnapper::_addSnappedLine(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, Geom::Point const &normal_to_line, Geom::Point const &point_on_line) const argument 1062 SnappedLine dummy = SnappedLine(snapped_point, snapped_distance, source, source_num, Inkscape::SNAPTARGET_GRID, getSnapperTolerance(), getSnapperAlwaysSnap(), normal_to_line, point_on_line); 1066 void CanvasXYGridSnapper::_addSnappedPoint(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 1068 SnappedPoint dummy = SnappedPoint(snapped_point, source, source_num, Inkscape::SNAPTARGET_GRID, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true); 1072 void CanvasXYGridSnapper::_addSnappedLinePerpendicularly(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument 1074 SnappedPoint dummy = SnappedPoint(snapped_point, source, source_num, Inkscape::SNAPTARGET_GRID_PERPENDICULAR, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true);
|
/inkscape/src/widgets/ |
H A D | stroke-marker-selector.cpp | 298 * Pick up all markers from source, except those that are in 301 void MarkerComboBox::sp_marker_list_from_doc(SPDocument *source, gboolean history) argument 303 GSList *ml = get_marker_list(source); 316 add_markers(clean_ml, source, history); 324 * Returns a list of markers in the defs of the given source document as a GSList object 327 GSList *MarkerComboBox::get_marker_list (SPDocument *source) argument 329 if (source == NULL) 333 SPDefs *defs = source->getDefs(); 369 void MarkerComboBox::add_markers (GSList *marker_list, SPDocument *source, gboolean history) argument 402 Gtk::Image *prv = create_marker_image (22, repr->attribute("id"), source, drawin 463 create_marker_image(unsigned psize, gchar const *mname, SPDocument *source, Inkscape::Drawing &drawing, unsigned ) argument [all...] |
H A D | paint-selector.cpp | 837 * Returns a list of patterns in the defs of the given source document as a GSList object 841 ink_pattern_list_get (SPDocument *source) argument 843 if (source == NULL) 847 std::set<SPObject *> patterns = source->getResourceList("pattern"); 862 sp_pattern_menu_build (GtkWidget *combo, GSList *pattern_list, SPDocument */*source*/) 894 * Pick up all patterns from source, except those that are in 897 static void sp_pattern_list_from_doc(GtkWidget *combo, SPDocument * /*current_doc*/, SPDocument *source, SPDocument * /*pattern_doc*/) argument 899 GSList *pl = ink_pattern_list_get(source); 911 sp_pattern_menu_build (combo, clean_pl, source);
|
/inkscape/src/2geom/ |
H A D | path.h | 649 Sequence source; local 651 source.push_back(first->duplicate()); 653 do_update(seq_pos, seq_pos, source); 722 Sequence source; local 724 source.push_back(first->duplicate()); 726 do_update(seq_first_replaced, seq_last_replaced, source); 838 void do_update(Sequence::iterator first, Sequence::iterator last, Sequence &source);
|
/inkscape/src/util/ |
H A D | ziptool.cpp | 229 std::vector<unsigned char> &source); 755 std::vector<unsigned char> &source) 758 src = source; 754 inflate(std::vector<unsigned char> &destination, std::vector<unsigned char> &source) argument
|