/inkscape/src/ |
H A D | unicoderange.cpp | 7 int res=0; local 12 if (s[i] >= 'A' && s[i] <= 'F') res += mul * (s[i]-'A'+10); 13 if (s[i] >= 'a' && s[i] <= 'f') res += mul * (s[i]-'a'+10); 14 if (s[i] >= '0' && s[i] <= '9') res += mul * (s[i]-'0'); 18 return res;
|
H A D | print.cpp | 89 Gtk::PrintOperationResult res = printop.run(Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG, parentWindow); local 90 (void)res; // TODO handle this
|
H A D | syseq.h | 91 inline void multiply(double A[S][U], double B[U][T], double res[S][T]) { argument 98 res[i][j] = sum; 108 inline void multiply(double A[S][T], double v[T], double res[S]) { argument 114 res[i] = sum;
|
H A D | deptool.cpp | 484 String res = s.substr(begin, end-begin+1); local 485 return res; 536 String res = fname.substr(pos, fname.size()-pos); local 537 //trace("suffix:%s", res.c_str()); 538 return res;
|
/inkscape/src/extension/ |
H A D | loader.cpp | 61 const char *res = g_module_error(); local 62 g_warning("Unable to load dependency %s of plugin %s.\nDetails: %s\n", dep.get_name(), "<todo>", res); 83 const char *res = g_module_error(); local 84 g_warning("Unable to load extension %s.\nDetails: %s\n", name, res); 91 const char *res = g_module_error(); local 92 g_warning("Unable to load extension %s.\nDetails: %s\n", name, res); 99 const char *res = g_module_error(); local 100 g_warning("Unable to load extension %s.\nDetails: %s\n", name, res);
|
/inkscape/src/libcola/ |
H A D | conjugate_gradient.cpp | 31 double res = 0; local 33 res += *mp++ * vec[j]; 34 result[i] = res;
|
/inkscape/src/2geom/ |
H A D | crossing.cpp | 166 Crossings res = reverse_ta(cr[i], max); local 167 if(i < split) std::reverse(res.begin(), res.end()); 168 ret.push_back(res); 176 Crossings res = reverse_tb(cr[i], split, max); local 177 if(i >= split) std::reverse(res.begin(), res.end()); 178 ret.push_back(res);
|
H A D | concepts.h | 152 bool res; member in struct:Geom::NearConcept 154 res = are_near(a, b, tol);
|
H A D | geom.cpp | 295 Point res; local 297 if (line_segment_intersect(p0, p1, A, B, res) == intersects) { 298 results.push_back(res); 300 if (line_segment_intersect(p0, p1, B, C, res) == intersects) { 301 results.push_back(res); 303 if (line_segment_intersect(p0, p1, C, D, res) == intersects) { 304 results.push_back(res); 306 if (line_segment_intersect(p0, p1, D, A, res) == intersects) { 307 results.push_back(res);
|
H A D | sbasis-roots.cpp | 125 Interval res(0,0); // an empty sbasis is 0. 132 v = res.min(); 135 res.setMin(std::min(a,b)); 137 res.setMin(lerp(t, a+v*t, b)); 140 v = res.max(); 143 res.setMax(std::max(a,b)); 145 res.setMax(lerp(t, a+v*t, b)); 148 if (order>0) res*=std::pow(.25,order); 149 return res; 184 Interval res local 587 std::vector<double> res; local 598 std::vector<double> res; local [all...] |
H A D | path-intersection.cpp | 32 Cmp res = cmp(p[0].finalPoint()[Y], y); 44 res = c; 49 return res < 0; 450 std::vector<Rect> res; local 452 res.push_back(Rect(p[i].pointAt(splits[i][j-1]), p[i].pointAt(splits[i][j]))); 453 ret.push_back(res); 485 Crossings res; local 494 res, .1); 498 for(unsigned k = 0; k < res.size(); k++) { res[ 553 Crossings res; local 665 Crossings res = curve_self_crossings(p[i]); local 702 Crossings res = self_crossings(p[i]); local 710 Crossings res = cc.crossings(p[i], p[j]); local [all...] |
/inkscape/src/live_effects/ |
H A D | lpe-vonkoch.cpp | 35 bool res = PathParam::param_readSVGValue(strvalue); local 36 if (res && _pathvector.size()==1 && _pathvector.front().size()==1){
|
H A D | lpe-perspective_path.cpp | 191 Piecewise<SBasis> res[3]; local 193 res[j] = 199 D2<Piecewise<SBasis> > result(divide(res[0],res[2], 3), 200 divide(res[1],res[2], 3));
|
/inkscape/src/display/ |
H A D | drawing-image.cpp | 74 Geom::OptRect res = _clipbox & view; local 75 Geom::Rect ret = res ? *res : _clipbox;
|
H A D | nr-filter-slot.cpp | 182 cairo_surface_t *FilterSlot::get_result(int res) argument 184 cairo_surface_t *result = getcairo(res);
|
/inkscape/src/extension/internal/ |
H A D | latex-pstricks.cpp | 65 int res; local 102 res = fprintf(_stream, "%%LaTeX with PSTricks extensions\n"); 122 if (res >= 0) {
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | pdf-parser.h | 159 GfxResources *res; // resource stack member in class:PdfParser
|
/inkscape/src/livarot/ |
H A D | AVL.cpp | 661 int res = Remove (racine, startNode, remDiff); local 662 if (res == avl_no_err && rebalance && startNode) 663 res = startNode->RestoreBalances (remDiff, racine); 664 return res; 807 int res = Insert (racine, insertType, insertL, insertR); local 808 if (res == avl_no_err && rebalance) 809 res = RestoreBalances ((AVLTree *) NULL, racine); 810 return res;
|
H A D | PathSimplify.cpp | 120 static double DistanceToCubic(Geom::Point const &start, PathDescrCubicTo res, Geom::Point &pt) argument 123 Geom::Point const ep = pt - res.p; 130 Geom::Point seg = res.p - start; 136 seg = start - res.p; 179 PathDescrCubicTo res(Geom::Point(0, 0), Geom::Point(0, 0), Geom::Point(0, 0)); 196 res, worstP) ); 212 AttemptSimplify(off + curP, M, treshhold, res, worstP); // ca passe forcement 221 CubicTo(endToPt, res.start, res.end); 250 bool Path::FitCubic(Geom::Point const &start, PathDescrCubicTo &res, argument 321 ExtendFit(int off, int N, fitting_tables &data, double treshhold, PathDescrCubicTo &res, int &worstP) argument 434 AttemptSimplify(fitting_tables &data,double treshhold, PathDescrCubicTo & res,int &worstP) argument 737 AttemptSimplify(int off, int N, double treshhold, PathDescrCubicTo &res,int &worstP) argument [all...] |
/inkscape/src/ui/dialog/ |
H A D | font-substitution.cpp | 268 font_instance *res = (font_factory::Default())->Face(descr); local 269 if (res->pFont) { 270 PangoFontDescription *nFaceDesc = pango_font_describe(res->pFont);
|
/inkscape/src/ui/widget/ |
H A D | font-variants.cpp | 413 font_instance* res = font_factory::Default()->FaceFromFontSpecification( font_spec.c_str() ); local 414 if( res ) { 418 if((it = res->openTypeTables.find("liga"))!= res->openTypeTables.end() || 419 (it = res->openTypeTables.find("clig"))!= res->openTypeTables.end()) { 425 if((it = res->openTypeTables.find("dlig"))!= res->openTypeTables.end()) { 431 if((it = res->openTypeTables.find("hlig"))!= res [all...] |
/inkscape/src/libdepixelize/priv/ |
H A D | homogeneoussplines.h | 438 points_iter res = std::find(it + 1, region_end, *it); local 439 if ( res == region_end ) 444 region_begin = res; 448 --res; 449 } while ( *it == *res ); 450 _fill_holes(holes, it - 1, res + 2);
|
/inkscape/src/trace/ |
H A D | quantize.cpp | 148 RGB res; local 149 res.r = rgb.r >> s; res.g = rgb.g >> s; res.b = rgb.b >> s; 150 return res;
|
/inkscape/src/xml/ |
H A D | repr-css.cpp | 135 int res = sscanf(str, "%6x", &color); local 136 if ( res && ( res != EOF ) ) { 139 if ( !res || res == EOF ) {
|
/inkscape/src/libnrtype/ |
H A D | FontInstance.cpp | 327 int res = 0; local 330 res = pango_win32_font_get_glyph_index(pFont, c); 334 res = CLAMP(c, 0xf0000, 0x1fffff) - 0xf0000; 336 res = FT_Get_Char_Index(theFace, c); 341 return res;
|