/inkscape/src/ |
H A D | color-rgba.h | 28 * @param c2 Blue 31 ColorRGBA(float c0, float c1, float c2, float c3) argument 34 _c[2] = c2; _c[3] = c3;
|
H A D | snapped-line.cpp | 77 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 D | unclump.cpp | 80 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 D | sp-shape.cpp | 221 Geom::Affine sp_shape_marker_get_transform(Geom::Curve const & c1, Geom::Curve const & c2) argument 227 Geom::Point tang2 = c2.unitTangentAt(0); 1120 bool c2 = snapprefs->isTargetSnappable(Inkscape::SNAPTARGET_NODE_SMOOTH) && (nodetype == Geom::NODE_SMOOTH || nodetype == Geom::NODE_SYMM); local 1122 if (c1 || c2) {
|
H A D | gradient-chemistry.cpp | 628 guint32 average_color(guint32 c1, guint32 c2, gdouble p) argument 630 guint32 r = static_cast<guint32>(SP_RGBA32_R_U (c1) * (1 - p) + SP_RGBA32_R_U (c2) * p); 631 guint32 g = static_cast<guint32>(SP_RGBA32_G_U (c1) * (1 - p) + SP_RGBA32_G_U (c2) * p); 632 guint32 b = static_cast<guint32>(SP_RGBA32_B_U (c1) * (1 - p) + SP_RGBA32_B_U (c2) * p); 633 guint32 a = static_cast<guint32>(SP_RGBA32_A_U (c1) * (1 - p) + SP_RGBA32_A_U (c2) * p); 652 guint32 const c2 = next_stop->get_rgba32(); local 653 guint32 cnew = average_color (c1, c2, (offset - prev_stop->offset) / (next_stop->offset - prev_stop->offset));
|
H A D | object-snapper.cpp | 532 bool c2 = true; local 543 c2 = isUnselectedNode(end_pt, unselected_nodes); 554 if (!being_edited || (c1 && c2)) {
|
H A D | seltrans.cpp | 329 bool c2 = prefs->getBool("/options/snapclosestonly/value", false); local 330 if (translating && (c1 || c2)) {
|
H A D | box3d.cpp | 568 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...] |
/inkscape/src/2geom/ |
H A D | affine.h | 87 Affine(Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5) { argument 89 _c[2] = c2; _c[3] = c3;
|
H A D | bezier-curve.cpp | 464 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);
|
H A D | bezier-curve.h | 218 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 D | bezier.h | 181 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 D | conicsec.h | 128 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
|
/inkscape/src/libdepixelize/priv/ |
H A D | optimization-kopf2011.h | 148 T smoothness_energy(Point<T> c0, Point<T> c1, Point<T> c2) argument 151 Point<T> p2 = midpoint(c1, c2);
|
/inkscape/src/libavoid/ |
H A D | geometry.cpp | 214 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
|
/inkscape/src/livarot/ |
H A D | PathStroke.cpp | 334 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...] |
H A D | PathOutline.cpp | 1197 double c2 = Geom::dot (biss, enNor); local 1198 if (fabs(c2) > 0.707107) { // apply only to obtuse angles 1199 double l = width / c2; 1255 double c2 = Geom::dot (biss, enNor); local 1256 double l = width / c2;
|
/inkscape/src/extension/internal/ |
H A D | metafile-print.cpp | 202 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 D | wmf-print.cpp | 671 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...] |
/inkscape/src/ui/tools/ |
H A D | gradient-tool.cpp | 408 guint32 const c2 = stop2->get_rgba32(); local 410 guint32 c1 = average_color (c0, c2,
|
H A D | tool-base.cpp | 1253 bool const c2 = event->state & GDK_BUTTON3_MASK; // pressed, e.g. when scrolling with the middle mouse button; if we do then local 1260 if (c1 || c2 || c3) {
|
/inkscape/src/helper/ |
H A D | geom.cpp | 185 Geom::Point c2 = cubic_bezier[2] * t; local 187 cubic_bbox(c0[0], c0[1], c1[0], c1[1], c2[0], c2[1], c3[0], c3[1], bbox);
|
/inkscape/src/widgets/ |
H A D | gradient-vector.cpp | 735 guint32 sp_average_color(guint32 c1, guint32 c2, gdouble p/* = 0.5*/) argument 737 guint32 r = (guint32) (SP_RGBA32_R_U(c1) * p + SP_RGBA32_R_U(c2) * (1 - p)); 738 guint32 g = (guint32) (SP_RGBA32_G_U(c1) * p + SP_RGBA32_G_U(c2) * (1 - p)); 739 guint32 b = (guint32) (SP_RGBA32_B_U(c1) * p + SP_RGBA32_B_U(c2) * (1 - p)); 740 guint32 a = (guint32) (SP_RGBA32_A_U(c1) * p + SP_RGBA32_A_U(c2) * (1 - p)); 782 guint32 const c2 = next->get_rgba32(); local 783 guint32 cnew = sp_average_color(c1, c2);
|
/inkscape/src/util/ |
H A D | ziptool.cpp | 2607 unsigned char c1, c2, c3, c4; local 2608 c2 = c3 = c4 = 0; 2618 c1 = c2; c2 = c3; c3 = c4; c4 = ch; 2619 if (c1 == 0x50 && c2 == 0x4b && c3 == 0x07 && c4 == 0x08)
|
/inkscape/src/display/ |
H A D | cairo-utils.cpp | 1004 const guint32 c2 = (int)cc; local 1006 return premul_alpha( c2, a ); 1022 const guint32 c2 = (int)cc; local 1024 return premul_alpha( c2, a );
|