Searched refs:q2 (Results 1 - 9 of 9) sorted by relevance

/inkscape/src/2geom/
H A Dcairo-path-sink.cpp65 Point q2 = (2./3.) * p1 + (1./3.) * p2; local
67 cairo_curve_to(_cr, q1[X], q1[Y], q2[X], q2[Y], p2[X], p2[Y]);
H A Dconicsec.cpp567 double q2 = c[0]*d[0]*d[0] + c[1]*d[0]*d[1] + c[2]*d[1]*d[1]; local
574 if(q2 == 0) {
580 double desc = q1*q1 - 4*q2*q0;
581 /*std::cout << q2 << ", "
588 r.push_back(-q1/(2*q2));
600 r.push_back(t/q2);
/inkscape/src/display/
H A Dsp-ctrlcurve.h31 Geom::Point const &q2, Geom::Point const &q3);
H A Dsp-ctrlcurve.cpp162 Geom::Point q2( x2, y2 );
165 setCoords( q0, q1, q2, q3 );
170 Geom::Point const &q2, Geom::Point const &q3)
174 DIFFER(p2[Geom::X], q2[Geom::X]) || DIFFER(p2[Geom::Y], q2[Geom::Y]) ||
178 p2 = q2;
169 setCoords( Geom::Point const &q0, Geom::Point const &q1, Geom::Point const &q2, Geom::Point const &q3) argument
/inkscape/share/extensions/
H A Dcubicsuperpath.py127 q2=params[2:4]
130 x2= 2./3*q1[0]+1./3*q2[0]
131 x3= q2[0]
134 y2= 2./3*q1[1]+1./3*q2[1]
135 y3= q2[1]
H A Dsynfig_output.py938 q2 = params[2:4]
941 x2 = 2./3*q1[0]+1./3*q2[0]
942 x3 = q2[0]
945 y2 = 2./3*q1[1]+1./3*q2[1]
946 y3 = q2[1]
H A Dgcodetools.py1956 q2 = q3 + (p2-p3)*(1- (r*c if abs(c)<100 else 0) )
1959 return [[q0.to_list(), q0.to_list(), q1.to_list()],[q2.to_list(), q3.to_list(), q3.to_list()]]
/inkscape/src/
H A Dseltrans.cpp1230 Geom::Point q2 = d2 / h2; // normalized new vector to handle
1233 Geom::Rotate r2(q2);
1238 double cos_t = Geom::dot(q1, q2);
1239 double sin_t = Geom::dot(Geom::rot90(q1), q2);
1245 r2 = Geom::Rotate(radians); //q2 = Geom::Point(cos(radians), sin(radians));
/inkscape/src/ui/tools/
H A Dmeasure-tool.cpp305 double q2 = q1 + (ax * bx) + (ay * by); local
307 double k2 = (4.0 / 3.0) * (std::sqrt(2 * q1 * q2) - q2) / ((ax * by) - (ay * bx));

Completed in 53 milliseconds