Searched refs:paths (Results 1 - 17 of 17) sorted by relevance

/inkscape/share/extensions/
H A Dextrude.py31 'Join paths with lines or polygons'),
38 paths = []
41 paths.append(node)
42 if len(paths) < 2:
43 inkex.errormsg(_('Need at least 2 paths selected'))
46 pts = [cubicsuperpath.parsePath(paths[i].get('d'))
47 for i in range(len(paths))]
49 for i in range(len(paths)):
50 if 'transform' in paths[i].keys():
51 trans = paths[
[all...]
H A Dhpgl_encoder.py188 paths = []
191 paths.append([node.tag, node, self.mergeTransform(node, groupmat), self.getPenNumber(node)])
196 for i, elm in enumerate(paths):
197 if paths[i][0] == inkex.addNS('g', 'svg') and self.isGroupVisible(paths[i][1]):
199 for path in paths[i][1]:
201 paths.insert(i + 1, [path.tag, path, self.mergeTransform(path, paths[i][2]), paths[i][3]])
202 paths[
[all...]
H A Dlayers2svgfont.py98 # Using svg:paths as childnodes of svg:glyph
100 #paths = group.findall(inkex.addNS('path', 'svg'))
101 #for p in paths:
111 paths = group.findall(inkex.addNS('path', 'svg'))
113 for p in paths:
H A Dsvgfont2layers.py113 # Using svg:paths as childnodes of svg:glyph
115 paths = glyph.findall(inkex.addNS('path', 'svg'))
116 for path in paths:
H A Dinterp.py127 paths = {}
140 paths[id] = cubicsuperpath.parsePath(node.get('d'))
144 simpletransform.applyTransformToPath(simpletransform.parseTransform(trans), paths[id])
149 start = copy.deepcopy(paths[sorted_ids[i-1]])
150 end = copy.deepcopy(paths[sorted_ids[i]])
191 #subdivide both paths into segments of relatively equal lengths
272 #break paths so that corresponding subpaths have an equal number of segments
H A Dgcodetools.py3267 ### In/out paths:
3303 self.error("Warning! Extenstion is not said to do anything! Enable one of Create in-out paths or Prepare corners checkboxes or disable Do not add in-out referense point!")
3320 self.selected_paths = self.paths
3321 self.error(_("No paths are selected! Trying to work on all available paths."),"warning")
3403 # finally add let's add in-out paths...
3420 ### Arrangement: arranges paths by givven params
3424 paths = self.selected_paths
3431 if layer in paths :
3432 for path in paths[laye
[all...]
/inkscape/src/live_effects/
H A Dlpe-vonkoch.cpp50 //,draw_boxes(_("Display boxes"), _("Display boxes instead of paths only"), "draw_boxes", &wr, this, true)
246 Geom::PathVector paths = ref_path.get_pathvector(); local
248 if (paths.empty()||paths.front().size()==0){
255 A = paths.front().pointAt(0);
256 B = paths.front().pointAt(paths.front().size());
258 if (paths.size()!=1||paths.front().size()!=1){
282 Geom::PathVector paths,refpath local
[all...]
H A Dlpe-knot.cpp157 CrossingPoints::CrossingPoints(Geom::PathVector const &paths) : std::vector<CrossingPoint>(){ argument
159 for( unsigned i=0; i<paths.size(); i++){
160 for( unsigned ii=0; ii < size_nondegenerate(paths[i]); ii++){
161 for( unsigned j=i; j<paths.size(); j++){
162 for( unsigned jj=(i==j?ii:0); jj < size_nondegenerate(paths[j]); jj++){
167 // std::cout << paths[i][ii].toSBasis()[Geom::X] <<"\n";
168 // std::cout << paths[i][ii].toSBasis()[Geom::Y] <<"\n";
170 find_self_intersections( times, paths[i][ii].toSBasis() );
173 // std::cout << paths[i][ii].toSBasis()[Geom::X] <<"\n";
174 // std::cout << paths[
506 collectPathsAndWidths(SPLPEItem const *lpeitem, Geom::PathVector &paths, std::vector<double> &stroke_widths) argument
512 collectPathsAndWidths(SP_LPE_ITEM(subitem), paths, stroke_widths); local
[all...]
H A Dlpe-knot.h37 unsigned i, j; //paths components meeting in this point.
39 double ti, tj; //time along paths.
46 CrossingPoints(Geom::PathVector const &paths);
82 Geom::PathVector gpaths;//the collection of all the paths in the object or group.
/inkscape/src/
H A Dshortcuts.h50 void sp_shortcut_get_file_names(std::vector<Glib::ustring> *names, std::vector<Glib::ustring> *paths);
H A Dshortcuts.cpp208 * Get a list of keyboard shortcut files names and paths from the system and users paths
211 void sp_shortcut_get_file_names(std::vector<Glib::ustring> *names, std::vector<Glib::ustring> *paths) { argument
266 paths->insert(paths->begin(), full);
269 paths->push_back(full);
/inkscape/src/display/
H A Ddrawing.h37 guint32 paths; member in struct:Inkscape::Drawing::OutlineColors
/inkscape/src/libcroco/
H A Dcr-om-parser.c940 *(only local file paths are suppported so far)
1035 *Parses three sheets located by their paths and build a cascade
1051 guchar *paths[3]; local
1058 paths[0] = (guchar *) a_author_path;
1059 paths[1] = (guchar *) a_user_path;
1060 paths[2] = (guchar *) a_ua_path;
1063 status = cr_om_parser_parse_file (a_this, paths[i],
1094 *Parses three sheets located by their paths and build a cascade
/inkscape/src/2geom/
H A Dpath.cpp467 // The class below implements sweepline optimization for curve intersection in paths.
582 * as not included in box. This way paths that contain linear horizontal
966 // TODO: handle cases where first > last in closed paths?
1090 Piecewise<D2<SBasis> > paths_to_pw(PathVector const &paths)
1092 Piecewise<D2<SBasis> > ret = paths[0].toPwSb();
1093 for (unsigned i = 1; i < paths.size(); i++) {
1094 ret.concat(paths[i].toPwSb());
H A Dpath.h122 * in long paths, either use this class and related methods instead of the standard methods
287 * first curve. This way the curves form a closed loop even for open paths.
317 * It's not very convenient to create a Path directly. To construct paths more easily,
401 /** @brief Swap contents of two paths.
467 * containers, two empty paths are not necessarily identical, because the
499 /// Test paths for exact equality.
849 Piecewise<D2<SBasis> > paths_to_pw(PathVector const &paths);
/inkscape/src/ui/dialog/
H A Dinkscape-preferences.cpp368 _page_node.add_line( true, "", _t_node_show_outline, "", _("Show outlines for all paths, not only invisible paths"));
371 _t_node_live_objects.init(_("Update paths when dragging nodes"), "/tools/nodes/live_objects", false);
372 _page_node.add_line( true, "", _t_node_live_objects, "", _("Update paths when dragging or transforming nodes; if this is off, paths will only be updated when completing a drag"));
374 _page_node.add_line( true, "", _t_node_show_path_direction, "", _("Visualize the direction of selected paths by drawing small arrows in the middle of each outline segment"));
377 _t_node_pathflash_selected.init ( _("Show temporary outline for selected paths"), "/tools/nodes/pathflash_selected", false);
1373 // Clip paths and masks options
1973 // TRANSLATORS: following strings are paths in Inkscape preferences - Misc - System info
2022 gchar** paths local
2024 gtk_icon_theme_get_search_path(gtk_icon_theme_get_default(), &paths, &count); local
[all...]
/inkscape/
H A Dbuildtool.cpp6752 std::set<String> paths; local
6758 paths.insert(dep.path);
6767 for (setIter=paths.begin() ; setIter!=paths.end() ; setIter++)
6789 //## Make paths
6832 //## Make paths

Completed in 1234 milliseconds