/inkscape/src/2geom/ |
H A D | bezier-utils.h | 71 int cp = 0; local 80 pc[3 - j] += c[cp]*(*b); 81 cp++;
|
H A D | line.cpp | 258 Coord cp = cross(v1, v2); local 259 if (cp == 0) return result; 262 Coord t1 = cross(odiff, v2) / cp; 263 Coord t2 = cross(odiff, v1) / cp; 319 Coord cp = cross(v1, v2); local 320 if (cp == 0) return OptCrossing(); 325 c.ta = cross(odiff, v2) / cp; 326 c.tb = cross(odiff, v1) / cp;
|
H A D | bezier-clipping.cpp | 67 void print(std::vector<Point> const& cp, const char* msg = "") argument 70 for (size_t i = 0; i < cp.size(); ++i) 71 std::cerr << i << " : " << cp[i] << std::endl;
|
/inkscape/src/ |
H A D | sp-linear-gradient.cpp | 93 cairo_pattern_t *cp = cairo_pattern_create_linear( local 97 sp_gradient_pattern_common_setup(cp, this, bbox, opacity); 99 return cp;
|
H A D | sp-solid-color.cpp | 71 cairo_pattern_t *cp = cairo_pattern_create_rgba ( c->value.color.v.c[0], c->value.color.v.c[1], c->value.color.v.c[2], SP_SCALE24_TO_FLOAT(this->style->solid_opacity.value) * opacity ); local 73 return cp;
|
H A D | sp-radial-gradient.cpp | 199 cairo_pattern_t *cp = cairo_pattern_create_radial( local 203 sp_gradient_pattern_common_setup(cp, this, bbox, opacity); 205 return cp;
|
H A D | sp-mesh.cpp | 141 cairo_pattern_t *cp = NULL; local 158 cp = cairo_pattern_create_mesh(); 165 cairo_mesh_pattern_begin_patch( cp ); 166 cairo_mesh_pattern_move_to( cp, patch.getPoint( 0, 0 )[X], patch.getPoint( 0, 0 )[Y] ); 184 cairo_mesh_pattern_line_to( cp, 192 cairo_mesh_pattern_curve_to( cp, 206 cairo_mesh_pattern_set_control_point( cp, k, t[X], t[Y] ); 216 cp, k, 223 cairo_mesh_pattern_end_patch( cp ); 233 ink_cairo_pattern_set_matrix(cp, gs2use [all...] |
H A D | sp-gradient.cpp | 1098 sp_gradient_pattern_common_setup(cairo_pattern_t *cp, argument 1106 cairo_pattern_set_extend(cp, CAIRO_EXTEND_REFLECT); 1109 cairo_pattern_set_extend(cp, CAIRO_EXTEND_REPEAT); 1113 cairo_pattern_set_extend(cp, CAIRO_EXTEND_PAD); 1122 cairo_pattern_add_color_stop_rgba(cp, i->offset, 1132 ink_cairo_pattern_set_matrix(cp, gs2user.inverse());
|
H A D | sp-pattern.cpp | 677 cairo_pattern_t *cp = cairo_pattern_create_for_surface(pattern_surface.raw()); local 679 ink_cairo_pattern_set_matrix(cp, ps2user.inverse() * pattern_surface.drawingTransform()); 681 cairo_pattern_set_extend(cp, CAIRO_EXTEND_REPEAT); 683 return cp;
|
H A D | sp-item.cpp | 1108 SPClipPath *cp = clip_ref->getObject(); local 1116 Inkscape::DrawingItem *ac = cp->show(drawing, clip_key); 1120 cp->setBBox(clip_key, item_bbox); 1121 cp->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
|
/inkscape/src/display/ |
H A D | drawing-pattern.cpp | 135 cairo_pattern_t *cp = cairo_pattern_create_for_surface(pattern_surface.raw()); local 138 ink_cairo_pattern_set_matrix(cp, _pattern_to_user->inverse() * pattern_surface.drawingTransform()); 140 ink_cairo_pattern_set_matrix(cp, pattern_surface.drawingTransform()); 144 cairo_pattern_set_extend(cp, CAIRO_EXTEND_NONE); 146 cairo_pattern_set_extend(cp, CAIRO_EXTEND_REPEAT); 149 return cp;
|
H A D | nr-filter-gaussian.cpp | 565 cairo_surface_t *cp = ink_cairo_surface_copy(in); local 566 slot.set(_output, cp); 567 cairo_surface_destroy(cp);
|
H A D | cairo-utils.cpp | 793 ink_cairo_pattern_set_matrix(cairo_pattern_t *cp, Geom::Affine const &m) argument 797 cairo_pattern_set_matrix(cp, &cm);
|
/inkscape/src/livarot/ |
H A D | Path.cpp | 624 int cp = piece - 1; local 625 while ( cp >= 0 && (descr_cmd[cp]->getType()) != descr_moveto ) { 626 cp--; 628 if ( cp >= 0 ) { 629 PathDescrMoveTo *nData = dynamic_cast<PathDescrMoveTo *>(descr_cmd[cp]);
|
H A D | PathCutting.cpp | 1134 int cp=poss[curP].piece; local 1135 if ( cp < 0 || cp >= int(descr_cmd.size()) ) break; 1140 int const typ = descr_cmd[cp]->getType(); 1148 startP=PrevPoint(cp-1); 1153 PathDescrCubicTo *oData = dynamic_cast<PathDescrCubicTo *>(descr_cmd[cp]); 1162 InsertCubicTo(endP,(1-ct)*theT,(1-ct)*enD,cp+1); 1163 InsertForcePoint(cp+1); 1165 PathDescrCubicTo *nData = dynamic_cast<PathDescrCubicTo *>(descr_cmd[cp]); 1172 if ( poss[j].piece == cp ) { [all...] |
H A D | ShapeSweep.cpp | 1477 int cp = swsData[i].firstLinkedPoint; local 1478 while (cp >= 0) { 1479 pData[cp].askForWindingB = nEd; 1480 cp = pData[cp].nextLinkedPoint; 1579 int cp = swsData[numberOfEdges()-1].firstLinkedPoint; local 1580 while (cp >= 0) { 1581 pData[cp].askForWindingB = i; 1582 cp = pData[cp] 2220 int cp = swsData[cc].firstLinkedPoint; local 2239 int cp = swsData[numberOfEdges() - 1].firstLinkedPoint; local 2290 int cp = swsData[cc].firstLinkedPoint; local 2309 int cp = swsData[numberOfEdges() - 1].firstLinkedPoint; local 3306 int cp = iS->swsData[iB].firstLinkedPoint; local [all...] |
/inkscape/src/extension/internal/ |
H A D | cairo-renderer.cpp | 719 CairoRenderer::applyClipPath(CairoRenderContext *ctx, SPClipPath const *cp) argument 723 if (cp == NULL) 731 if (cp->clipPathUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX && cp->display->bbox) { 732 //SP_PRINT_DRECT("clipd", cp->display->bbox); 733 Geom::Rect clip_bbox = *cp->display->bbox; 743 SPObject const *co = cp; 767 if (cp->clipPathUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX)
|
/inkscape/src/live_effects/ |
H A D | lpe-knot.cpp | 196 CrossingPoint cp; local 197 cp.pt = paths[i][ii].pointAt(times[k].first); 198 cp.sign = 1; 199 cp.i = i; 200 cp.j = j; 201 cp.ni = 0; cp.nj=0;//not set yet 202 cp.ti = times[k].first + ii; 203 cp.tj = times[k].second + jj; 204 push_back(cp); 217 CrossingPoint cp = (*this)[k]; local 238 CrossingPoint cp; local 259 CrossingPoint cp = (*this)[n]; local [all...] |
/inkscape/src/live_effects/parameter/ |
H A D | filletchamferpointarray.cpp | 430 Point cp =p0(cs[0].ta); local 431 double p0pt = nearest_time(cp, B);
|
/inkscape/src/widgets/ |
H A D | gradient-vector.cpp | 1377 Inkscape::UI::Widget::ColorPreview *cp = Gtk::manage(new Inkscape::UI::Widget::ColorPreview(stop->get_rgba32())); local 1378 GdkPixbuf *pb = cp->toPixbuf(64, 16);
|
/inkscape/src/libavoid/ |
H A D | orthogonal.cpp | 1243 Point& cp = centreVert->point; local 1253 line1 = segments.insert(LineSegment(minLimit, cp.x, e->pos, 1258 line2 = segments.insert(LineSegment(cp.x, maxLimit, e->pos, 1264 segments.insert(LineSegment(cp.x, e->pos, centreVert)); 1274 VertInf *cent = new VertInf(router, dummyOrthogID, cp); 1394 Point& cp = centreVert->point; local 1403 segments.insert(LineSegment(minLimit, cp.y, e->pos)); 1407 segments.insert(LineSegment(cp.y, maxLimit, e->pos));
|
/inkscape/src/ui/tools/ |
H A D | flood-tool.cpp | 915 Geom::Point cp = fill_queue.front(); local 934 unsigned int sort_y = (unsigned int)cp[Geom::Y]; 953 cp = fill_queue.front(); 962 int x = (int)cp[Geom::X]; 963 int y = (int)cp[Geom::Y];
|