Searched refs:c2 (Results 1 - 25 of 47) sorted by relevance

12

/inkscape/src/
H A Dunclump.cpp80 Geom::Point c2 = unclump_center (item2); local
86 double a1 = atan2 ((c2 - c1)[Geom::Y], (c2 - c1)[Geom::X] * wh1[Geom::Y]/wh1[Geom::X]);
90 double a2 = atan2 ((c1 - c2)[Geom::Y], (c1 - c2)[Geom::X] * wh2[Geom::Y]/wh2[Geom::X]);
99 double dist_r = (Geom::L2 (c2 - c1) - r1 - r2);
113 if (c2[Geom::Y] > c1[Geom::Y] + wh1[Geom::Y]/2) {
115 } else if (c2[Geom::Y] < c1[Geom::Y] - wh1[Geom::Y]/2) {
118 y_closest = c2[Geom::Y];
122 if (c2[Geo
[all...]
H A Dcolor-rgba.h28 * @param c2 Blue
31 ColorRGBA(float c0, float c1, float c2, float c3) argument
34 _c[2] = c2; _c[3] = c3;
H A Dsnapped-line.cpp77 bool const c2 = _distance < line.getSnapDistance(); local
78 bool const use_this_as_primary = c1 || c2;
158 bool const c2 = _distance < line.getSnapDistance(); local
159 bool const use_this_as_primary = c1 || c2;
203 bool const c2 = sp.getSnapDistance() < result.getSnapDistance();
208 if (c1 || c2 || c3) {
248 bool const c2 = sp.getSnapDistance() < result.getSnapDistance();
253 if (c1 || c2 || c3) {
276 bool const c2 = sp.getSnapDistance() < result.getSnapDistance();
281 if (c1 || c2 || c
[all...]
H A Dsnapped-curve.cpp201 bool const c2 = sp.getSnapDistance() < result.getSnapDistance();
206 if (c1 || c2 || c3) {
234 bool const c2 = sp.getSnapDistance() < result.getSnapDistance();
239 if (c1 || c2 || c3) {
H A Dsnapped-point.cpp206 bool c2 = other_one.getAlwaysSnap() && !getAlwaysSnap();
226 bool other_is_better = (c1 || c2 || c3 || c4 || (c5a && (c5b || c5c))) && !c2n && (!c3n || c2) && !c4n;
230 std::cout << "c1 = " << c1 << " | c2 = " << c2 << " | c2n = " << c2n << " | c3 = " << c3 << " | c3n = " << c3n << " | c4 = " << c4 << " | c4n = " << c4n << " | c5a = " << c5a << " | c5b = " << c5b << " | c5c = " << c5c << std::endl;
H A Dgradient-chemistry.h69 guint32 average_color(guint32 c1, guint32 c2, double p = 0.5);
H A Dsp-shape.h81 Geom::Affine sp_shape_marker_get_transform(Geom::Curve const & c1, Geom::Curve const & c2);
H A Dbox3d.cpp568 Proj::Pt3 c1, c2, c3, c4; local
573 c2 = Proj::Pt3 (coord, box->orig_corner7[Proj::Y], box->orig_corner0[Proj::Z], 1.0);
579 c2 = Proj::Pt3 (box->orig_corner7[Proj::X], coord, box->orig_corner0[Proj::Z], 1.0);
585 c2 = Proj::Pt3 (box->orig_corner7[Proj::X], box->orig_corner0[Proj::Y], coord, 1.0);
593 corner2 = persp_impl->tmat.image(c2).affine();
1005 Geom::Point c2(box3d_get_corner_screen(box, 2, false));
1009 Geom::Point corner2(c2[Geom::X], c2[Geom::Y]);
1122 Geom::Point c2(box3d_get_corner_screen(box, id2, false));
1128 Geom::Point v2(c2
1318 box3d_push_back_corner_pair(SPBox3D const *box, std::list<std::pair<Geom::Point, Geom::Point> > &pts, int c1, int c2) argument
[all...]
H A Dpure-transform.cpp205 bool const c2 = fabs(b[Geom::Y]) < 1e-6;
206 if ((c1 || c2) && !(c1 && c2)) {
/inkscape/src/2geom/
H A Dbezier.h181 Bezier(Coord c0, Coord c1, Coord c2) : c_(0., 3) { argument
182 c_[0] = c0; c_[1] = c1; c_[2] = c2;
184 Bezier(Coord c0, Coord c1, Coord c2, Coord c3) : c_(0., 4) { argument
185 c_[0] = c0; c_[1] = c1; c_[2] = c2; c_[3] = c3;
187 Bezier(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4) : c_(0., 5) { argument
188 c_[0] = c0; c_[1] = c1; c_[2] = c2; c_[3] = c3; c_[4] = c4;
190 Bezier(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, argument
192 c_[0] = c0; c_[1] = c1; c_[2] = c2; c_[3] = c3; c_[4] = c4;
195 Bezier(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, argument
197 c_[0] = c0; c_[1] = c1; c_[2] = c2; c
200 Bezier(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5, Coord c6, Coord c7) argument
205 Bezier(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5, Coord c6, Coord c7, Coord c8) argument
210 Bezier(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5, Coord c6, Coord c7, Coord c8, Coord c9) argument
[all...]
H A Daffine.h87 Affine(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5) { argument
89 _c[2] = c2; _c[3] = c3;
H A Dsbasis.h134 SBasis(Coord c0, Coord c1, Coord c2, Coord c3)
139 d[1][1] = c2;
142 SBasis(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5)
147 d[2][0] = c2;
152 SBasis(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5,
158 d[2][0] = c2;
165 SBasis(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5,
171 d[2][0] = c2;
H A Dbezier-curve.h218 BezierCurveN(Point c0, Point c1, Point c2) { argument
221 inner[d] = Bezier(c0[d], c1[d], c2[d]);
225 BezierCurveN(Point c0, Point c1, Point c2, Point c3) { argument
228 inner[d] = Bezier(c0[d], c1[d], c2[d], c3[d]);
H A Dconicsec.h128 xAx (double c0, double c1, double c2, double c3, double c4, double c5) argument
130 set (c0, c1, c2, c3, c4, c5);
212 void set (double c0, double c1, double c2, double c3, double c4, double c5) argument
214 c[0] = c0; c[1] = c1; c[2] = c2; // xx, xy, yy
320 * c0*x^2 + c1*xy + c2*y^2 + c3*x + c4*y +c5 == 0
H A Dbezier-curve.cpp464 b2 = 0.5*(b1 + c1); // == c2
492 c2 = 0.5*(t0 + c1), local
493 b3 = 0.5*(b2 + c2); // == c3
495 bezier_length_internal(b3, c2, c1, a3, 0.5 * tolerance, level + 1);
/inkscape/src/livarot/
H A DPathStroke.cpp334 double c2 = dot(biss, nnor); local
335 double l = width / c2;
336 double emiter = width * c2;
378 double c2 = dot(biss, nnor); local
379 double l = width / c2;
380 double emiter = width * c2;
447 double c2=cross(next, biss);
448 double l=width/c2;
483 double c2 = dot (biss, nnor); local
484 double l = width / c2;
594 double c2 = dot (biss, nnor); local
[all...]
/inkscape/src/widgets/
H A Dgradient-vector.h85 guint32 sp_average_color(guint32 c1, guint32 c2, gdouble p = 0.5);
/inkscape/src/display/
H A Dnr-filter-gaussian.cpp311 for ( int c2 = 0 ; c2 < n2 ; c2++ ) {
318 PT const * srcimg = src + c2*sstr2;
319 PT * dstimg = dest + c2*dstr2 + n1*dstr1;
381 for ( int c2 = 0 ; c2 < n2 ; c2++ ) {
384 int const src_line = c2 * sstr2;
387 int const dst_line = c2 * dstr
[all...]
/inkscape/src/libavoid/
H A Dgeometry.cpp214 int cornerSide(const Point &c1, const Point &c2, const Point &c3, argument
217 int s123 = vecDir(c1, c2, c3);
218 int s12p = vecDir(c1, c2, p);
219 int s23p = vecDir(c2, c3, p);
238 // c1-c2-c3 are collinear, so just return vecDir from c1-c2
H A Dgeometry.h57 extern int cornerSide(const Point &c1, const Point &c2, const Point &c3,
/inkscape/src/libdepixelize/priv/
H A Doptimization-kopf2011.h148 T smoothness_energy(Point<T> c0, Point<T> c1, Point<T> c2) argument
151 Point<T> p2 = midpoint(c1, c2);
/inkscape/share/extensions/
H A Dffgeom.py85 c2 = dot(self,self)
86 if c2 <= c1:
/inkscape/src/extension/internal/
H A Dmetafile-print.cpp202 U_COLORREF PrintMetafile::weight_colors(U_COLORREF c1, U_COLORREF c2, double t) argument
207 result.Red = clrweight(c1.Red, c2.Red, t);
208 result.Green = clrweight(c1.Green, c2.Green, t);
209 result.Blue = clrweight(c1.Blue, c2.Blue, t);
210 result.Reserved = clrweight(c1.Reserved, c2.Reserved, t);
H A Dwmf-print.cpp671 U_COLORREF wc, c1, c2; local
686 c2 = U_RGBA(255 * rgb[0], 255 * rgb[1], 255 * rgb[2], 255 * opa);
710 wc = weight_opacity(c2);
716 c2 = U_RGBA(255 * rgb[0], 255 * rgb[1], 255 * rgb[2], 255 * opa);
723 wc = weight_colors(c1, c2, (doff - doff_base) / (doff_range - doff_base));
738 c1 = c2;
741 c2 = U_RGBA(255 * rgb[0], 255 * rgb[1], 255 * rgb[2], 255 * opa);
762 wc = weight_opacity(c2);
770 c2 = U_RGBA(255 * rgb[0], 255 * rgb[1], 255 * rgb[2], 255 * opa);
779 wc = weight_colors(c1, c2, (dof
[all...]
H A Dmetafile-print.h97 U_COLORREF weight_colors(U_COLORREF c1, U_COLORREF c2, double t);

Completed in 73 milliseconds

12