/inkscape/src/libdepixelize/priv/ |
H A D | integral.h | 37 Geom::Coord integral(F f, T begin, T end, unsigned samples) argument 40 const T width = (end - begin) / samples; 43 ret += width * f(begin + width * (i + .5));
|
H A D | iterator.h | 48 ::const_iterator begin) 52 difference_type idx = ptr - to_ptr<T>(begin); 53 return begin + idx; 59 begin) 63 difference_type idx = ptr - to_ptr<T>(begin); 64 return begin + idx; 74 ToIter(const_iterator begin) : argument 75 begin(begin) 80 return to_iterator<T>(ptr, begin); 46 to_iterator(T const *ptr, typename std::vector<T> ::const_iterator begin) argument 57 to_iterator(T *ptr, typename std::vector<T>::iterator begin) argument 89 typename std::vector<T>::const_iterator begin; member in class:Tracer::ToIter [all...] |
H A D | optimization-kopf2011.h | 104 typename std::vector< Point<T> >::iterator begin = it; local 124 return prev - begin; 140 return prev - begin; 144 return prev - begin; 216 typename Path::iterator it = ret.begin() + j;
|
H A D | homogeneoussplines.h | 72 iterator begin() function in class:Tracer::HomogeneousSplines 74 return _polygons.begin(); 77 const_iterator begin() const function in class:Tracer::HomogeneousSplines 79 return _polygons.begin(); 124 // different from [begin, end) STL style 190 for ( voronoi_citer cell_it = voronoi.begin(), cell_end = voronoi.end() 193 for ( iterator polygon_it = _polygons.begin(), 232 for ( typename std::vector<Polygon>::iterator it = _polygons.begin(), 253 const points_iter dst_begin = dst.begin(); 256 const points_citer src_begin = src.begin(); [all...] |
H A D | pixelgraph.h | 113 iterator begin() function in class:Tracer::PixelGraph 115 return _nodes.begin(); 118 const_iterator begin() const function in class:Tracer::PixelGraph 120 return _nodes.begin(); 373 iterator it = nodeBottomRight(begin()); // [1][1] 434 iterator it = nodeBottom(begin()); // [0][1] 457 iterator it = nodeBottom(begin() + _width - 1);// [_width - 1][1] 517 PixelGraph::iterator it = begin();
|
H A D | simplifiedvoronoi.h | 68 iterator begin() function in class:Tracer::SimplifiedVoronoi 70 return _cells.begin(); 73 const_iterator begin() const function in class:Tracer::SimplifiedVoronoi 75 return _cells.begin(); 266 PixelGraph::const_iterator graph_it = graph.begin() + _width + 1; 296 PixelGraph::const_iterator graph_it = graph.begin() + 1; 340 = graph.begin() + (_height - 1) * _width + 1; 363 PixelGraph::const_iterator graph_it = graph.begin() + _width; 411 PixelGraph::const_iterator graph_it = graph.begin() + 2 * _width - 1; 438 PixelGraph::const_iterator graph_it = graph.begin(); [all...] |
/inkscape/src/libdepixelize/ |
H A D | splines.h | 71 iterator begin() function in class:Tracer::Splines 73 return _paths.begin(); 76 const_iterator begin() const function in class:Tracer::Splines 78 return _paths.begin();
|
/inkscape/src/extension/implementation/ |
H A D | implementation.h | 130 virtual unsigned begin(Inkscape::Extension::Print * /*module*/, function in class:Inkscape::Extension::Implementation::Implementation
|
/inkscape/src/extension/ |
H A D | print.cpp | 49 Print::begin (SPDocument *doc) function in class:Inkscape::Extension::Print 51 return imp->begin(this, doc);
|
/inkscape/src/ui/tool/ |
H A D | control-point-selection.h | 60 iterator begin() { return _points.begin(); } function in class:Inkscape::UI::ControlPointSelection 61 const_iterator begin() const { return _points.begin(); } function in class:Inkscape::UI::ControlPointSelection
|
H A D | node.h | 389 iterator begin() { return iterator(ln_next); } function in class:Inkscape::UI::NodeList 391 const_iterator begin() const { return const_iterator(ln_next); } function in class:Inkscape::UI::NodeList 431 void push_front(Node *x) { insert(begin(), x); } 432 void pop_front() { erase(begin()); }
|
/inkscape/src/ |
H A D | object-test.h | 28 clock_t begin, end; local 80 begin = clock(); 91 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to construct the test document\n"; 126 clock_t begin, end; local 145 begin = clock(); 156 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to write " << num_clones << " clones of a path\n"; 158 begin = clock(); 165 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to remove " << num_clones << " clones of a path\n"; 170 clock_t begin, end; local 189 begin [all...] |
H A D | deptool.cpp | 401 for (iter=allFiles.begin() ; iter!=allFiles.end() ; iter++) 407 for (iter=refFiles.begin() ; iter!=refFiles.end() ; iter++) 413 for (iter=depFiles.begin() ; iter!=depFiles.end() ; iter++) 468 unsigned int begin = 0; local 469 for ( ; begin < s.size() ; begin++) 471 if (!isspace(s[begin])) 477 for ( ; end > begin ; end--) 482 //trace("begin:%d end:%d", begin, en [all...] |
H A D | sp-text.cpp | 740 for(std::vector<SVGLength>::iterator it = attr_vector->begin(); it != attr_vector->end(); ++it) { 771 for(std::vector<SVGLength>::iterator it = attributes.x.begin(); it != attributes.x.end(); ++it) { 774 for(std::vector<SVGLength>::iterator it = attributes.y.begin(); it != attributes.y.end(); ++it) { 777 for(std::vector<SVGLength>::iterator it = attributes.dx.begin(); it != attributes.dx.end(); ++it) { 780 for(std::vector<SVGLength>::iterator it = attributes.dy.begin(); it != attributes.dy.end(); ++it) { 801 for (std::vector<SVGLength>::const_iterator it = attr_vector.begin() ; it != attr_vector.end() ; ++it) { 865 std::copy(parent_list.begin() + parent_offset, parent_list.end(), std::back_inserter(*output_list)); 901 attr_vector->erase(attr_vector->begin() + start_index, attr_vector->end()); 903 attr_vector->erase(attr_vector->begin() + start_index, attr_vector->begin() 925 double begin = start_index == 0 ? (*attr_vector)[start_index + n].computed : (*attr_vector)[start_index - 1].computed; local [all...] |
H A D | gradient-drag.cpp | 154 for(std::set<GrDragger *>::const_iterator it = drag->selected.begin(); it != drag->selected.end(); ++it) { //for all selected draggers 156 for(std::vector<GrDraggable *>::const_iterator it2 = d->draggables.begin(); it2 != d->draggables.end(); ++it2 ) { //for all draggables of dragger 212 for (std::set<SPObject *>::const_iterator it = gradients.begin(); it != gradients.end(); ++it) { 309 for(std::set<GrDragger *>::const_iterator it = selected.begin(); it != selected.end(); ++it) { //for all selected draggers 311 for(std::vector<GrDraggable *>::const_iterator it2 = d->draggables.begin(); it2 != d->draggables.end(); ++it2 ) { //for all draggables of dragger 332 for(std::set<GrDragger *>::const_iterator it = selected.begin(); it != selected.end(); ++it) { //for all selected draggers 334 for(std::vector<GrDraggable *>::const_iterator it2 = d->draggables.begin(); it2 != d->draggables.end(); ++it2 ) { //for all draggables of dragger 371 for (std::vector<Inkscape::PaintTarget>::const_iterator it = allPaintTargets().begin(); (it != allPaintTargets().end()) && !addknot; ++it) 376 Geom::Point begin = getGradientCoords(item, POINT_LG_BEGIN, 0, fill_or_stroke); local 378 Geom::LineSegment ls(begin, en 389 Geom::Point begin = getGradientCoords(item, POINT_RG_CENTER, 0, fill_or_stroke); local 914 gr_midpoint_limits(GrDragger *dragger, SPObject *server, Geom::Point *begin, Geom::Point *end, Geom::Point *low_lim, Geom::Point *high_lim, std::vector<GrDragger *> &moving) argument 2585 Geom::Point begin = Geom::Point (lg->x1.computed, lg->y1.computed); local [all...] |
/inkscape/src/extension/internal/ |
H A D | latex-pstricks.cpp | 62 unsigned int PrintLatex::begin (Inkscape::Extension::Print *mod, SPDocument *doc) function in class:Inkscape::Extension::Internal::PrintLatex 80 * the callers (sp_print_document_to_file, "ret = mod->begin(doc)") wrongly ignores the 130 os << "\\begin{pspicture}(" << doc->getWidth().value("px") << "," << doc->getHeight().value("px") << ")\n"; 276 for(Geom::PathVector::const_iterator it = pathv.begin(); it != pathv.end(); ++it) { 280 for(Geom::Path::const_iterator cit = it->begin(); cit != it->end_open(); ++cit) { 311 for(Geom::Path::iterator iter = sbasis_path.begin(); iter != sbasis_path.end(); ++iter) {
|
H A D | wmf-print.cpp | 79 static double PX2WORLD; // value set in begin() 126 unsigned int PrintWmf::begin(Inkscape::Extension::Print *mod, SPDocument *doc) function in class:Inkscape::Extension::Internal::PrintWmf 196 g_error("Fatal programming error in PrintWmf::begin at WMRSETMAPMODE"); 203 g_error("Fatal programming error in PrintWmf::begin at WMRSETWINDOWEXT"); 208 g_error("Fatal programming error in PrintWmf::begin at WMRSETWINDOWORG"); 213 g_error("Fatal programming error in PrintWmf::begin at WMRSETMAPMODE"); 220 g_error("Fatal programming error in PrintWmf::begin at U_WMRSETBKMODE"); 226 g_error("Fatal programming error in PrintWmf::begin at U_WMRSETPOLYFILLMODE"); 235 g_error("Fatal programming error in PrintWmf::begin at U_WMRSETTEXTALIGN_set"); 241 g_error("Fatal programming error in PrintWmf::begin a [all...] |
/inkscape/src/util/ |
H A D | list-container.h | 35 for ( const_iterator iter = other.begin() ; iter ; ++iter ) { 91 iterator begin() { return _head; } function in class:Inkscape::Util::ListContainer 92 const_iterator begin() const { return _head; } function in class:Inkscape::Util::ListContainer
|
/inkscape/src/2geom/ |
H A D | convex-hull.h | 205 /** @brief Get the begin iterator to the points that form the hull. 210 iterator begin() const { return _boundary.begin(); } function in class:Geom::ConvexHull 225 boost::iterator_range<UpperIterator> r(_boundary.begin(), _boundary.begin() + _lower); 312 std::sort(out.begin(), out.end(), Point::LexLess<X>()); 313 out.erase(std::unique(out.begin(), out.end()), out.end());
|
H A D | pathvector.h | 151 iterator begin() { return _data.begin(); } function in class:Geom::PathVector 153 const_iterator begin() const { return _data.begin(); } function in class:Geom::PathVector 254 for (iterator i = begin(); i != end(); ++i) {
|
H A D | path.h | 292 * - Iterating between @a begin() and @a end() will iterate over segments 294 * - Iterating between @a begin() and @a end_closed() 296 * - Iterating between @a begin() and @a end_open() will always skip 301 * [begin(), end_open()) and [begin(), end_closed()). 434 const_iterator begin() const { return const_iterator(*this, 0); } function in class:Geom::Path 439 iterator begin() { return iterator(*this, 0); } function in class:Geom::Path 704 replace(end_open(), other.begin(), other.end()); 816 return iter.path->_data->curves.begin() + iter.index; 819 return iter.path->_data->curves.begin() [all...] |
/inkscape/src/io/ |
H A D | inkscapestream.cpp | 220 const char *begin = str.raw().c_str(); local 222 long ival = strtol(begin, &end, 10); 231 const char *begin = str.raw().c_str(); local 233 unsigned long ival = strtoul(begin, &end, 10); 242 const char *begin = str.raw().c_str(); local 244 double ival = strtod(begin, &end);
|
/inkscape/src/libavoid/ |
H A D | graph.cpp | 190 _pos1 = _v1->orthogVisList.insert(_v1->orthogVisList.begin(), this); 192 _pos2 = _v2->orthogVisList.insert(_v2->orthogVisList.begin(), this); 200 _pos1 = _v1->visList.insert(_v1->visList.begin(), this); 202 _pos2 = _v2->visList.insert(_v2->visList.begin(), this); 208 _pos1 = _v1->invisList.insert(_v1->invisList.begin(), this); 210 _pos2 = _v2->invisList.insert(_v2->invisList.begin(), this); 284 for (FlagList::iterator i = _conns.begin(); i != finish; ++i) 461 ss.insert(contains[iID].begin(), contains[iID].end()); 465 ss.insert(contains[jID].begin(), contains[jID].end()); 588 for (EdgeInfList::const_iterator edge = visList.begin(); edg 722 EdgeInf *EdgeList::begin(void) function in class:Avoid::EdgeList [all...] |
H A D | orthogonal.cpp | 614 : begin(b), 619 COLA_ASSERT(begin < finish); argument 632 : begin(bf), 643 // Order by begin, pos, finish. 646 if (begin != rhs.begin) 648 return begin < rhs.begin; 664 if ((begin == rhs.begin) 1001 double begin; member in namespace:Avoid [all...] |
/inkscape/src/ui/tools/ |
H A D | text-tool.cpp | 237 for (std::vector<SPCanvasItem*>::iterator it = this->text_selection_quads.begin() ; 860 this->text_sel_start = layout->begin(); 1284 Glib::ustring::iterator itr = text.begin(); 1310 Glib::ustring::size_type begin = 0; local 1312 Glib::ustring::size_type end = text.find('\n', begin); 1314 if (begin != text.length()) 1315 tc->text_sel_start = tc->text_sel_end = sp_te_replace(tc->text, tc->text_sel_start, tc->text_sel_end, text.substr(begin).c_str()); 1318 tc->text_sel_start = tc->text_sel_end = sp_te_replace(tc->text, tc->text_sel_start, tc->text_sel_end, text.substr(begin, end - begin).c_str()); 1320 begin [all...] |