Searched refs:eval (Results 1 - 20 of 20) sorted by relevance

/inkscape/src/ui/widget/
H A Dspinbutton.cpp44 Inkscape::Util::ExpressionEvaluator eval = Inkscape::Util::ExpressionEvaluator(get_text().c_str(), unit); local
45 result = eval.evaluate();
51 Inkscape::Util::ExpressionEvaluator eval = Inkscape::Util::ExpressionEvaluator(get_text().c_str(), NULL); local
52 result = eval.evaluate();
/inkscape/src/livarot/
H A DAlphaLigne.h54 // pente is (eval-sval)/(epos-spos), because you can compute it once per edge, and thus spare the
56 int AddBord(float spos,float sval,float epos,float eval,float iPente);
58 int AddBord(float spos,float sval,float epos,float eval);
H A Dfloat-line.h77 int AddBord(float spos, float sval, float epos, float eval, int guess = -1);
78 int AddBord(float spos, float sval, float epos, float eval, float pente, int guess = -1);
79 int AddBordR(float spos, float sval, float epos, float eval, float pente, int guess = -1);
80 int AppendBord(float spos, float sval, float epos, float eval, float pente);
H A DAlphaLigne.cpp57 int AlphaLigne::AddBord(float spos,float sval,float epos,float eval,float tPente) argument
59 // printf("%f %f -> %f %f / %f\n",spos,sval,epos,eval,tPente);
60 if ( sval == eval ) return 0;
70 if ( eval < sval ) curMax=max;
81 float needed=eval-sval;
103 float stC=/*(int)ldexpf(*/(eval-sval)*(0.5*(epos-spos)+curStF+1-epos)/*,24)*/;
215 int AlphaLigne::AddBord(float spos,float sval,float epos,float eval) argument
218 float tPente=(eval-sval);
226 if ( eval < sval ) curMax=max;
230 before.delta+=eval
[all...]
H A Dint-line.h55 int AddBord(int spos, float sval, int epos, float eval);
H A Dfloat-line.cpp44 int FloatLigne::AddBord(float spos, float sval, float epos, float eval, int guess) argument
46 // if ( showCopy ) printf("b= %f %f -> %f %f \n",spos,sval,epos,eval);
51 float pente = (eval - sval) / (epos - spos);
82 b.val = eval;
101 int FloatLigne::AddBord(float spos, float sval, float epos, float eval, float pente, int guess) argument
103 // if ( showCopy ) printf("b= %f %f -> %f %f \n",spos,sval,epos,eval);
132 b.val = eval;
178 int FloatLigne::AddBordR(float spos, float sval, float epos, float eval, float pente, int guess) argument
180 // if ( showCopy ) printf("br= %f %f -> %f %f \n",spos,sval,epos,eval);
181 // return AddBord(spos,sval,epos,eval,pent
256 AppendBord(float spos, float sval, float epos, float eval, float pente) argument
[all...]
H A Dint-line.cpp55 int IntLigne::AddBord(int spos, float sval, int epos, float eval) argument
72 bords[n].val = eval;
/inkscape/share/extensions/
H A Dcolor_custom.py48 r2=self.normalize(eval(self.options.rFunction,safeenv))
49 g2=self.normalize(eval(self.options.gFunction,safeenv))
50 b2=self.normalize(eval(self.options.bFunction,safeenv))
H A Dhershey.py68 font = eval('hersheydata.' + str(self.options.fontface))
H A Dparam_curves.py70 f1 = eval('lambda t: ' + fx.strip('"'))
72 f2 = eval('lambda t: ' + fy.strip('"'))
H A Dfuncplot.py88 f = eval('lambda x: ' + fx.strip('"'))
90 fp = eval('lambda x: ' + fpx.strip('"'))
H A Ddraw_from_triangle.py127 func = eval('lambda params: ' + temp.strip('"')) #the function leading to the trilinar element
452 func = eval('lambda params: ' + strings[i].strip('"')) #the function leading to the trilinar element
462 func = eval('lambda params: ' + strings.strip('"')) #the function leading to the radius
H A Dpolyhedron_3d.py485 axis = eval('so.r'+str(i)+'_ax')
486 angle = eval('so.r'+str(i)+'_ang') *pi/180
H A Dlayout_nup.py109 return tuple(map(lambda ev: (self.unittouu(str(eval(str(ev)))+unit)/self.unittouu('1px')), x))
127 """Generate the SVG. Inputs are run through 'eval(str(x))' so you can use
156 # num = tuple(map(lambda ev: eval(str(ev)), num))
H A Ddxf_outlines.py340 scale = eval(self.options.units)
H A Dgcodetools.py2483 self.gcode += eval( "re.sub(%s,line)"%parameters) +"\n"
4547 depth_func = eval('lambda c,d,s: ' + self.options.path_to_gcode_depth_function.strip('"'))
5538 toolshape = eval('lambda w: ' + shape.strip('"'))
/inkscape/src/svg/
H A Dsvg-length.cpp151 int eval = (int)floor(log10(fabs(val))); local
152 if (val == 0.0 || eval < min_exp) {
156 eval<0?tprec+(unsigned int)-eval+1:
157 eval+1<(int)tprec?tprec+1:
158 (unsigned int)eval+1;
159 unsigned int maxnumdigitsWithExp = tprec + ( eval<0 ? 4 : 3 ); // It's not necessary to take larger exponents into account, because then maxnumdigitsWithoutExp is DEFINITELY larger
163 val = eval < 0 ? val * pow(10.0, -eval) : val / pow(10.0, eval);
[all...]
/inkscape/
H A Dbuildtool.cpp2891 String eval(const String &s, const String &defaultVal);
4657 String MakeBase::eval(const String &s, const String &defaultVal) function in class:buildtool::MakeBase
4678 String val = eval(s, "false");
6711 String command = parent.eval(commandOpt, "gcc");
6712 String ccCommand = parent.eval(ccCommandOpt, "gcc");
6713 String cxxCommand = parent.eval(cxxCommandOpt, "g++");
6714 String source = parent.eval(sourceOpt, ".");
6715 String dest = parent.eval(destOpt, ".");
6716 String ccflags = parent.eval(flagsOpt, "");
6717 String cxxflags = parent.eval(cxxflagsOp
[all...]
/inkscape/src/2geom/
H A Dpolynomial.h149 T eval(T x) const { function in class:Geom::Poly
158 T operator()(T t) const { return (T)eval(t);}
/inkscape/share/extensions/test/
H A Dinkweb-debug.js45 eval( "InkWeb."+att+" = "+ code );

Completed in 83 milliseconds