Searched refs:source (Results 1 - 25 of 50) sorted by relevance

12

/inkscape/cxxtest/sample/
H A DMakefile.PL14 my $source;
18 GetOptions( 'bcc32' => sub { $source = 'Makefile.bcc32' } ) or usage();
19 if ( !defined( $source ) ) {
20 $source = $windows ? 'Makefile.msvc' : 'Makefile.unix';
24 $windows ? copy($source, $target) : symlink($source, $target);
26 print "`Makefile' is now `$source'.\n";
/inkscape/src/libdepixelize/priv/
H A Dsplines-kopf2011.h45 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/
H A Dguide-snapper.h35 void _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;
36 void _addSnappedLinesOrigin(IntermSnapResults &isr, Geom::Point const &origin, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const;
37 void _addSnappedLinePerpendicularly(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const;
38 void _addSnappedPoint(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const;
H A Dguide-snapper.cpp69 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 Dline-snapper.h52 virtual void _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 = 0;
55 virtual void _addSnappedLinesOrigin(IntermSnapResults &isr, Geom::Point const &origin, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const;
57 virtual void _addSnappedLinePerpendicularly(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const = 0;
58 virtual void _addSnappedPoint(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const = 0;
H A Dsnap-candidate.h27 /// 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 Dsnapped-point.h31 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 Dsnap-preferences.h33 SnapTargetType source2target(SnapSourceType source) const;
34 bool isSourceSnappable(Inkscape::SnapSourceType const source) const;
71 * - For snap sources, just pass the corresponding snap target instead (each snap source should have a twin snap target, but not vice versa)
H A Ddevice-manager.cpp33 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 Dsnapped-line.h26 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);
42 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);
H A Dsnapped-curve.h28 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);
H A Dsnapped-point.cpp17 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 Dsnap-preferences.cpp247 Inkscape::SnapTargetType Inkscape::SnapPreferences::source2target(Inkscape::SnapSourceType source) const
249 switch (source)
300 g_warning("Mapping of snap source to snap target undefined");
305 bool Inkscape::SnapPreferences::isSourceSnappable(Inkscape::SnapSourceType const source) const
307 return isTargetSnappable(source2target(source));
H A Dsnapped-line.cpp14 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;
/inkscape/src/io/
H A Duristream.h40 UriInputStream(FILE *source, Inkscape::URI &uri);
42 UriInputStream(Inkscape::URI &source);
76 UriReader(Inkscape::URI &source);
147 UriWriter(Inkscape::URI &source);
H A Dxsltstream.h42 XsltStyleSheet(InputStream &source);
52 bool read(InputStream &source);
H A Dinkscapestream.cpp26 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...]
H A Dbase64stream.cpp99 int len = source.available() * 2 / 3;
112 source.close();
136 int ch = source.get();
H A Duristream.cpp91 UriInputStream::UriInputStream(Inkscape::URI &source) argument
92 : uri(source)
132 UriInputStream::UriInputStream(FILE *source, Inkscape::URI &uri) argument
134 inf(source),
H A Dinkscapestream.h45 * 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);
/inkscape/src/display/
H A Dcanvas-axonomgrid.h75 void _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, const Geom::Point &point_on_line) const;
76 void _addSnappedPoint(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const;
77 void _addSnappedLinePerpendicularly(IntermSnapResults &isr, Geom::Point const &snapped_point, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const;
/inkscape/src/widgets/
H A Dstroke-marker-selector.h82 void sp_marker_list_from_doc(SPDocument *source, gboolean history);
83 GSList *get_marker_list (SPDocument *source);
84 void add_markers (GSList *marker_list, SPDocument *source, gboolean history);
88 SPDocument *source, Inkscape::Drawing &drawing, unsigned /*visionkey*/);
H A Dstroke-marker-selector.cpp298 * 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...]
/inkscape/src/ui/dialog/
H A Dpolar-arrange-tab.cpp227 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/2geom/
H A Dpath.cpp891 Sequence source;
892 source.push_back(curve.duplicate());
893 do_update(seq_pos, seq_pos, source);
936 Sequence source(1);
937 source.push_back(curve.duplicate());
939 do_update(seq_first_replaced, seq_last_replaced, source);
962 // replace curves between first and last with contents of source,
964 void Path::do_update(Sequence::iterator first, Sequence::iterator last, Sequence &source)
971 if (source.empty()) {
982 source
[all...]

Completed in 239 milliseconds

12