/inkscape/src/live_effects/ |
H A D | lpe-knot.h | 36 int sign; //+/-1 = positive or neg crossing, 0 = flat. member in struct:Inkscape::LivePathEffect::LPEKnotNS::CrossingPoint
|
H A D | lpe-ruler.cpp | 125 int sign = (mark_dir == MARKDIR_RIGHT ? 1 : -1 ); local 154 Point n = rot90(unit_vector(speed(t_cuts[i])))*sign; 164 Point n = rot90(unit_vector(speed.firstValue()))*sign; 170 Point n = rot90(unit_vector(speed.lastValue()))*sign; 180 n = rot90(unit_vector(speed.segs[speed.segs.size()-2].at1()))*sign;
|
H A D | lpe-vonkoch.cpp | 117 int sign = (u[X]*v[Y]-u[Y]*v[X]>=0?1:-1); local 118 v[X] = -u[Y]*sign; 119 v[Y] = u[X]*sign;
|
H A D | lpe-roughen.cpp | 171 double LPERoughen::sign(double random_number) function in class:Inkscape::LivePathEffect::LPERoughen 187 Geom::Point output = Geom::Point(sign(displace_x_parsed), sign(displace_y_parsed));
|
H A D | lpe-knot.cpp | 198 cp.sign = 1; 247 cp.sign = input[n++]; 268 result.push_back(double(cp.sign)); 317 (*this)[n].sign = other[n].sign; 330 (*this)[n].sign = other[idx].sign; 332 (*this)[n].sign = default_value; 438 if ( crossing_points[p].sign * geom_sign > 0 ){ 440 }else if ( crossing_points[p].sign * geom_sig 658 int sign = lpe->crossing_points[s].sign; local [all...] |
H A D | lpe-rough-hatches.cpp | 46 bool sign; member in struct:Inkscape::LivePathEffect::LevelCrossing 103 lc.sign = ( dx.valueAt(times[i][j])>0 ); 184 double sign = ((*this)[level][idx].sign ? 1 : -1); local 193 if ( sign > 0 ){
|
/inkscape/src/ |
H A D | context-fns.cpp | 99 double sign = (ratio < 0 ? -1 : 1); local 101 delta[Geom::X] = sign * goldenratio * delta[Geom::Y]; 108 double sign = (ratio < 0 ? -1 : 1); local 110 delta[Geom::Y] = sign * goldenratio * delta[Geom::X];
|
H A D | line-geometry.cpp | 86 double sign = (Geom::dot (pt - this->pt, this->v_dir) > 0) ? 1.0 : -1.0; local 87 double lambda = sign * Geom::L2 (pt - this->pt);
|
H A D | seltrans.cpp | 866 /** Returns -1 or 1 according to the sign of x. Returns 1 for 0 and NaN. */ 867 static double sign(double const x) function 908 default_scale[Geom::X] = fabs(default_scale[Geom::Y]) * sign(default_scale[Geom::X]); 909 geom_scale[Geom::X] = fabs(geom_scale[Geom::Y]) * sign(geom_scale[Geom::X]); 911 default_scale[Geom::Y] = fabs(default_scale[Geom::X]) * sign(default_scale[Geom::Y]); 912 geom_scale[Geom::Y] = fabs(geom_scale[Geom::X]) * sign(geom_scale[Geom::Y]); 1139 scale[dim_a] = sign(scale[dim_a]); 1154 sections = sign(sections) * (snaps / 2 - 1);
|
/inkscape/src/2geom/ |
H A D | solve-bezier-one-d.cpp | 90 int sign = SGN(w[i]); local 91 if (sign != 0) 93 if (sign != old_sign && old_sign != 0) 97 old_sign = sign;
|
H A D | solve-bezier-parametric.cpp | 10 * Perhaps it would be better to subdivide particularly around nodes with changing sign, rather than simply cutting in half. 92 int sign = SGN(V[i][Geom::Y]); local 93 if (sign != old_sign) 95 old_sign = sign;
|
H A D | sbasis-2d.cpp | 119 double sign = 1.; local 125 //sign = -sign; 130 double bx = -sign*reste[1]/fact_k*nB[X]; 131 double by = -sign*reste[1]/fact_k*nB[Y]; 135 //sign *= 3;
|
H A D | sbasis-math.cpp | 119 //-sign(x)--------------------------------------------------------------- 120 /** Return the sign of the two functions pointwise. 126 /** Return the sign of the two functions pointwise. 130 Piecewise<SBasis> sign=partition(f,roots(f)); local 131 for (unsigned i=0; i<sign.size(); i++){ 132 sign.segs[i] = (sign.segs[i](.5)<0)? Linear(-1.):Linear(1.); 134 return sign;
|
H A D | solve-bezier.cpp | 74 int sign = SGN(bz[i]); local 75 if (sign != old_sign) 81 old_sign = sign; 165 int sign = SGN(bz[i]); local 166 if (sign != 0) 168 if (sign != old_sign && old_sign != 0) 172 old_sign = sign;
|
/inkscape/src/libavoid/ |
H A D | geomtypes.cpp | 316 int sign = (y1 < y2) ? 1: -1; local 320 y1 += (sign * shorten_length); 324 y2 -= (sign * shorten_length); 331 int sign = (x1 < x2) ? 1: -1; local 335 x1 += (sign * shorten_length); 339 x2 -= (sign * shorten_length);
|
/inkscape/src/libcroco/ |
H A D | cr-tknzr.c | 1471 *preceeded by '+' or '-' to indicate the sign. 1490 int sign = 1; local 1501 sign = -1; 1558 gdouble val = (numerator / denominator) * sign;
|
/inkscape/src/ui/tool/ |
H A D | path-manipulator.cpp | 320 double sign = (extremum == EXTR_MIN_X || extremum == EXTR_MIN_Y) ? -1. : 1.; local 330 add_or_replace_if_extremum(extremum_vector, extrvalue, sign * first->position()[dim], first, 0.); 331 add_or_replace_if_extremum(extremum_vector, extrvalue, sign * second->position()[dim], first, 1.); 343 add_or_replace_if_extremum(extremum_vector, extrvalue, sign * temp1d.valueAt(*it), first, *it);
|