/inkscape/share/extensions/Barcode/ |
H A D | Code128.py | 104 pos = 0 122 i = pos 123 if pos: 130 pos = pos + 1 138 total = total + (chars.index(char) * pos) 140 pos = pos + 1 143 total = total + (int(char) * pos) 145 pos [all...] |
H A D | Code93.py | 36 pos = 10 38 result[chr(char)] = PALLET[pos] 39 pos = pos + 1
|
/inkscape/src/livarot/ |
H A D | int-line.h | 23 int pos; member in struct:int_ligne_bord 78 if ( d1->pos == d2->pos ) { 87 return (( d1->pos < d2->pos ) ? -1 : 1);
|
H A D | PathStroke.cpp | 82 Geom::Point pos = pts[lastM].p; local 83 DoButt(dest, width, butt, pos, dir, last[RIGHT], last[LEFT]); 86 DoButt(dest, width, butt, pos, dir, end[LEFT], end[RIGHT]); 242 void Path::DoButt(Shape *dest, double width, ButtType butt, Geom::Point pos, Geom::Point dir, argument 251 x = pos + width * dir + width * nor; 253 x = pos + width * dir - width * nor; 255 x = pos + width * nor; 257 x = pos - width * nor; 265 leftNo = dest->AddPoint (pos + width * nor); 266 rightNo = dest->AddPoint (pos 289 DoJoin(Shape *dest, double width, JoinType join, Geom::Point pos, Geom::Point prev, Geom::Point next, double miter, double , double , int *stNo, int *enNo) argument 413 DoLeftJoin(Shape * dest, double width, JoinType join, Geom::Point pos, Geom::Point prev, Geom::Point next, double miter, double , double , int &leftStNo, int &leftEnNo,int pathID,int pieceID,double tID) argument 557 DoRightJoin(Shape * dest, double width, JoinType join, Geom::Point pos, Geom::Point prev, Geom::Point next, double miter, double , double , int &rightStNo, int &rightEnNo,int pathID,int pieceID,double tID) argument [all...] |
H A D | float-line.h | 38 float pos; ///< position of the boundary member in struct:float_ligne_bord 100 if ( d1.pos == d2.pos ) { 110 return (( d1.pos < d2.pos ) ? -1 : 1);
|
H A D | PathOutline.cpp | 404 Geom::Point pos; local 405 pos = curX; 406 OutlineJoin (dest, pos, curT, stNor, width, join, 413 Geom::Point pos; local 414 pos = firstP; 503 Geom::Point pos; local 504 pos = curX; 505 OutlineJoin (dest, pos, curT, stNor, width, join, miter, nType); 553 Geom::Point pos; local 554 pos 609 Geom::Point pos; local 667 Geom::Point pos; local 698 Geom::Point pos; local 735 Geom::Point pos=curX; local 914 TangentOnSegAt(double at, Geom::Point const &iS, PathDescrLineTo const &fin, Geom::Point &pos, Geom::Point &tgt, double &len) argument 932 TangentOnArcAt(double at, const Geom::Point &iS, PathDescrArcTo const &fin, Geom::Point &pos, Geom::Point &tgt, double &len, double &rad) argument 1077 TangentOnCubAt(double at, Geom::Point const &iS, PathDescrCubicTo const &fin, bool before, Geom::Point &pos, Geom::Point &tgt, double &len, double &rad) argument 1131 TangentOnBezAt(double at, Geom::Point const &iS, PathDescrIntermBezierTo & mid, PathDescrBezierTo & fin, bool before, Geom::Point & pos, Geom::Point & tgt, double &len, double &rad) argument 1170 OutlineJoin(Path * dest, Geom::Point pos, Geom::Point stNor, Geom::Point enNor, double width, JoinType join, double miter, int nType) argument [all...] |
H A D | Path.cpp | 513 * \param pos Filled in with the point at `at' on `piece'. 516 void Path::PointAt(int piece, double at, Geom::Point &pos) argument 521 pos = Geom::Point(0,0); 533 return PointAt (piece + 1, 0.0, pos); 537 return PointAt (piece - 1, 1.0, pos); 542 TangentOnSegAt(at, PrevPoint (piece - 1), *nData, pos, tgt, len); 547 TangentOnArcAt(at,PrevPoint (piece - 1), *nData, pos, tgt, len, rad); 552 TangentOnCubAt(at, PrevPoint (piece - 1), *nData, false, pos, tgt, len, rad); 566 return PointAt(piece - 1, 1.0, pos); 573 return PointAt(piece - 1, 1.0, pos); 606 PointAndTangentAt(int piece, double at, Geom::Point &pos, Geom::Point &tgt) argument [all...] |
H A D | ShapeRaster.cpp | 25 void Shape::BeginRaster(float &pos, int &curPt) argument 29 pos = 0; 47 pos = getPoint(0).x[1] - 1.0; 77 void Shape::BeginQuickRaster(float &pos, int &curPt) argument 81 pos = 0; 93 pos = getPoint(0).x[1] - 1.0; 118 void Shape::Scan(float &pos, int &curP, float to, float step) argument 124 if ( pos == to ) { 133 Direction const d = (pos < to) ? DOWNWARDS : UPWARDS; 137 // don't forget to update curP and pos whe 275 QuickScan(float &pos,int &curP, float to, bool , float step) argument 609 DirectScan(float &pos, int &curP, float to, float step) argument 708 DirectQuickScan(float &pos, int &curP, float to, bool , float step) argument 801 Scan(float &pos, int &curP, float to, FloatLigne *line, bool exact, float step) argument 949 Scan(float &pos, int &curP, float to, FillRule directed, BitLigne *line, bool exact, float step) argument 1122 Scan(float &pos, int &curP, float to, AlphaLigne *line, bool exact, float step) argument 1232 QuickScan(float &pos, int &curP, float to, FloatLigne* line, float step) argument 1371 QuickScan(float &pos, int &curP, float to, FillRule directed, BitLigne* line, float step) argument 1521 QuickScan(float &pos, int &curP, float to, AlphaLigne* line, float step) argument [all...] |
/inkscape/src/2geom/ |
H A D | pathvector.cpp | 81 PathVectorTime pos = _factorTime(t); local 83 *rest = Coord(pos.curve_index) + pos.t; 85 return at(pos.path_index); 89 PathVectorTime pos = _factorTime(t); local 91 *rest = pos.t; 93 return at(pos.path_index).at(pos.curve_index); 97 PathVectorTime pos = _factorTime(t); local 98 return at(pos 102 PathVectorTime pos = _factorTime(t); local 247 PathTime pos = (*this)[i].nearestTime(p, &d); local 267 PathTime pos = (*this)[i].nearestTime(p, &d); local [all...] |
H A D | pathvector.h | 64 PathVectorTime(size_type _i, PathTime const &pos) argument 65 : PathTime(pos), path_index(_i) {} 179 iterator insert(iterator pos, Path const &p) { argument 180 return _data.insert(pos, p); 231 Path &pathAt(PathVectorTime const &pos) { argument 232 return const_cast<Path &>(static_cast<PathVector const*>(this)->pathAt(pos)); 234 Path const &pathAt(PathVectorTime const &pos) const { 235 return at(pos.path_index); 237 Curve const &curveAt(PathVectorTime const &pos) const { 238 return at(pos 243 valueAt(PathVectorTime const &pos, Dim2 d) const argument [all...] |
H A D | intersection-graph.cpp | 45 return a.pos < b.pos; 123 xa->pos = pxs[i].first; 124 xb->pos = pxs[i].second; 132 _components[0][xa->pos.path_index].xlist.push_back(*xa); 133 _components[1][xb->pos.path_index].xlist.push_back(*xb); 156 std::size_t pi = i->pos.path_index; 158 PathInterval ival = forward_interval(i->pos, n->pos, _pv[w][pi].size()); 324 PathInterval ival = forward_interval(k->pos, [all...] |
/inkscape/src/ |
H A D | deptool.cpp | 260 int get(int pos); 265 int skipwhite(int pos); 270 int getword(int pos, String &ret); 275 bool sequ(int pos, char *key); 500 String::size_type pos = fullname.find_last_of('/'); 501 if (pos != fullname.npos && pos<fullname.size()-1) 503 path = fullname.substr(0, pos); 504 pos++; 505 basename = fullname.substr(pos, fullnam 686 get(int pos) argument 699 skipwhite(int pos) argument 719 getword(int pos, String &ret) argument 738 sequ(int pos, char *key) argument 818 int pos = 0; local [all...] |
H A D | registrytool.cpp | 120 Glib::ustring::size_type pos = fullPath.rfind('\\'); local 121 if (pos != fullPath.npos) 123 path = fullPath.substr(0, pos); 124 exeName = fullPath.substr(pos+1);
|
H A D | unicoderange.cpp | 93 for (int pos=8;p>=0;pos--,p--){ 94 if (uni[pos]!='?' && uni[pos]!=r.start[p]) found = false;
|
/inkscape/src/widgets/ |
H A D | dash-selector.cpp | 119 int pos = 0; local 128 dashes[pos] = g_new (double, style.stroke_dasharray.values.size() + 1); 129 double *d = dashes[pos]; 136 dashes[pos] = dash_0; 138 pos += 1; 146 pos = BD_LEN; 149 dashes[pos] = g_new (double, 16); 150 double *d = dashes[pos]; 155 dashes[++pos] = NULL; 161 int pos local [all...] |
H A D | ege-paint-def.cpp | 229 size_t pos = xml.find("<sRGB"); local 230 if ( pos != std::string::npos ) { 231 size_t endPos = xml.find(">", pos); 232 std::string srgb = xml.substr(pos, endPos); 250 size_t pos = xml.find("<color "); local 251 if ( pos != std::string::npos ) { 252 size_t endPos = xml.find(">", pos); 253 std::string colorTag = xml.substr(pos, endPos);
|
/inkscape/src/live_effects/ |
H A D | lpe-text_label.cpp | 39 Point pos(pwd2_in.valueAt(t)); 44 label.setPos(pos + n);
|
/inkscape/src/libvpsc/ |
H A D | generate-constraints.cpp | 47 double pos; member in struct:vpsc::Node 50 Node(Variable *v, Rectangle *r, double p) : v(v),r(r),pos(p) { 79 if (u->pos < v->pos) { 82 if (v->pos < u->pos) { 85 if (IS_NAN(u->pos) != IS_NAN(v->pos)) { 86 return IS_NAN(u->pos); 143 double pos; member in struct:vpsc::Event [all...] |
/inkscape/src/util/ |
H A D | list-container.h | 243 iterator insert_after(const_iterator pos, const_reference value) { argument 245 if (pos) { 246 MutableList<T> before=static_cast<MutableList<T> &>(pos); 292 void _insert_from_temp(const_iterator pos, ListContainer const &temp) { argument 299 } else if (pos) { 300 if ( pos == _head ) { /* prepend */ 304 MutableList<T> before=_before(pos); 305 set_rest(temp._tail, static_cast<MutableList<T> &>(pos)); 313 void _insert_after_from_temp(const_iterator pos, argument 322 } else if (pos) { [all...] |
H A D | list-container-test.h | 175 Inkscape::Util::ListContainer<int>::iterator pos=c.begin(); 176 ++pos; 177 c.insert(pos, 4); 189 Inkscape::Util::ListContainer<int>::iterator pos=c.begin(); 190 ++pos; 191 c.erase(pos); 194 pos=c.begin(); 195 ++pos; 196 c.erase(pos);
|
/inkscape/src/libcola/ |
H A D | straightener.cpp | 107 double pos; member in struct:straightener::Event 108 Event(EventType t, Node *v, double p) : type(t),v(v),e(NULL),pos(p) {}; 109 Event(EventType t, Edge *e, double p) : type(t),v(NULL),e(e),pos(p) {}; 120 } else if(ea->pos > eb->pos) { 122 } else if(ea->pos < eb->pos) { 152 double pos=i->first; local 153 if(pos < minpos) continue; 154 if(pos > 175 double pos=i->first; local [all...] |
/inkscape/src/live_effects/parameter/ |
H A D | text.cpp | 49 TextParam::setPos(Geom::Point pos) argument 51 sp_canvastext_set_coords (canvas_text, pos); 62 Point pos = pwd2_reparam.valueAt(t_reparam); local 67 sp_canvastext_set_coords(canvas_text, pos + n * length);
|
/inkscape/src/libavoid/ |
H A D | orthogonal.cpp | 216 double pos; member in struct:Avoid::Node 225 pos(p), 236 pos(p), 247 pos(p), 263 while (curr && (curr->ss || (curr->max[dim] > pos))) 280 while (curr && (curr->ss || (curr->min[dim] < pos))) 296 while (curr && (curr->ss || (curr->pos > min[dim]))) 298 if (curr->ss && (curr->pos <= min[dim])) 311 while (curr && (curr->ss || (curr->pos < max[dim]))) 313 if (curr->ss && (curr->pos > 478 double pos; member in struct:Avoid::Event 568 double pos; member in struct:Avoid::PosVertInf 1003 double pos; member in namespace:Avoid [all...] |
/inkscape/share/extensions/ |
H A D | gimp_xcf.py | 101 pos = int(guideNode.get('position').split(',')[1].split('.')[0]) 103 if pos > 0 and pos < pageHeight: 105 hGuides.append(str(pageHeight - pos)) 108 pos = int(guideNode.get('position').split(',')[0].split('.')[0]) 110 if pos > 0 and pos < pageWidth: 111 vGuides.append(str(pos))
|
/inkscape/src/ui/dialog/ |
H A D | filedialog.cpp | 163 Glib::ustring::size_type pos = utf8Name.rfind('.'); local 164 if ( pos != Glib::ustring::npos ) { 165 Glib::ustring trail = utf8Name.substr( pos ); 170 utf8Name = utf8Name.erase( pos );
|