/inkscape/src/ui/widget/ |
H A D | highlight-picker.cpp | 172 convert_pixbuf_normal_to_argb32(GdkPixbuf *pb) argument 175 gdk_pixbuf_get_pixels(pb), 176 gdk_pixbuf_get_width(pb), 177 gdk_pixbuf_get_height(pb), 178 gdk_pixbuf_get_rowstride(pb)); 186 convert_pixbuf_argb32_to_normal(GdkPixbuf *pb) argument 189 gdk_pixbuf_get_pixels(pb), 190 gdk_pixbuf_get_width(pb), 191 gdk_pixbuf_get_height(pb), 192 gdk_pixbuf_get_rowstride(pb)); [all...] |
H A D | color-slider.cpp | 440 Glib::RefPtr<Gdk::Pixbuf> pb = Gdk::Pixbuf::create_from_data( local 443 Gdk::Cairo::set_source_pixbuf(cr, pb, carea.get_x(), carea.get_y()); 463 Glib::RefPtr<Gdk::Pixbuf> pb = local 466 Gdk::Cairo::set_source_pixbuf(cr, pb, carea.get_x(), carea.get_y()); 483 Glib::RefPtr<Gdk::Pixbuf> pb = local 486 Gdk::Cairo::set_source_pixbuf(cr, pb, carea.get_width() / 2 + carea.get_x(), carea.get_y());
|
/inkscape/src/2geom/ |
H A D | sbasis-to-bezier.cpp | 428 subpath_from_sbasis_incremental(Geom::OldPathSetBuilder &pb, D2<SBasis> B, double tol, bool initial) { 452 pb.start_subpath(bez[0]); 455 pb.push_cubic(bez[1], bez[2], bez[3]); 474 void build_from_sbasis(Geom::PathBuilder &pb, D2<SBasis> const &B, double tol, bool only_cubicbeziers) { argument 480 pb.lineTo(B.at1()); 485 pb.curveTo(bez[1], bez[2], bez[3]); 488 build_from_sbasis(pb, compose(B, Linear(0, 0.5)), tol, only_cubicbeziers); 489 build_from_sbasis(pb, compose(B, Linear(0.5, 1)), tol, only_cubicbeziers); 501 PathBuilder pb; local 502 pb 517 Geom::PathBuilder pb; local [all...] |
H A D | sbasis-to-bezier.h | 53 void build_from_sbasis(PathBuilder &pb, D2<SBasis> const &B, double tol, bool only_cubicbeziers);
|
H A D | piecewise.cpp | 39 Piecewise<SBasis> pa = partition(a, b.cuts), pb = partition(b, a.cuts); local 41 assert(pa.size() == pb.size()); 44 ret.push_seg(divide(pa[i], pb[i], k)); 50 Piecewise<SBasis> pa = partition(a, b.cuts), pb = partition(b, a.cuts); local 52 assert(pa.size() == pb.size()); 54 Piecewise<SBasis> divi = divide(pa[i], pb[i], tol, k, zero);
|
H A D | piecewise.h | 669 Piecewise<T> pa = partition(a, b.cuts), pb = partition(b, a.cuts); 671 assert(pa.size() == pb.size()); 675 ret.push_seg(pa[i] + pb[i]); 687 Piecewise<T> pa = partition(a, b.cuts), pb = partition(b, a.cuts); 689 assert(pa.size() == pb.size()); 693 ret.push_seg(pa[i] - pb[i]); 718 Piecewise<T2> pb = partition(b, a.cuts); 720 assert(pa.size() == pb.size()); 724 ret.push_seg(pa[i] * pb[i]);
|
/inkscape/src/widgets/ |
H A D | icon.cpp | 131 IconCacheItem( GtkIconSize lsize, GdkPixbuf* pb ) : 133 _pb( pb ) 172 icon->pb = NULL; 195 if (icon->pb) { 196 g_object_unref(G_OBJECT(icon->pb)); 197 icon->pb = NULL; 239 if ( !icon->pb ) { 243 GdkPixbuf *image = icon->pb; 269 gtk_icon_source_set_pixbuf(source, icon->pb); 335 if ( !icon->pb ) { 345 GdkPixbuf *pb = NULL; local 1076 GdkPixbuf *pb = gdk_pixbuf_new_from_file(localFilename, NULL); local 1270 GdkPixbuf* pb = NULL; local 1337 addToIconSet(GdkPixbuf* pb, gchar const* name, GtkIconSize lsize, unsigned psize) argument 1416 Glib::RefPtr<Gdk::Pixbuf> pb = Gdk::Pixbuf::create_from_file(potentialFile); local 1454 GdkPixbuf* pb = gdk_pixbuf_new_from_data( px, GDK_COLORSPACE_RGB, TRUE, 8, local 1491 GdkPixbuf* pb = get_cached_pixbuf(key); local [all...] |
H A D | icon.h | 41 GdkPixbuf *pb; member in struct:SPIcon
|
/inkscape/src/live_effects/ |
H A D | lpe-powerstroke.cpp | 324 Geom::PathBuilder pb; local 326 return pb.peek().front(); 329 pb.setStitching(true); 332 pb.moveTo(start); 333 build_from_sbasis(pb, B[0], tol, false); 366 pb.lineTo(B[i].at0()); // default to bevel for too shallow cusp angles 377 pb.lineTo(B[i].at0()); 386 pb.lineTo(B[i].at0()); 390 pb.arcTo( ellipse.ray(Geom::X), ellipse.ray(Geom::Y), ellipse.rotationAngle(), 405 pb [all...] |
H A D | lpe-gears.cpp | 122 Geom::Path pb; local 145 pb.append(SBasisCurve(leading_I)); 151 pb.append(SBasisCurve(tip)); 158 pb.append(SBasisCurve(trailing_I)); 165 pb.appendNew<LineSegment>(leading_end); 170 pb.append(SBasisCurve(root)); 177 pb.appendNew<LineSegment>(trailing_end); 182 return pb;
|
/inkscape/src/extension/internal/ |
H A D | gdkpixbuf-input.cpp | 66 boost::scoped_ptr<Inkscape::Pixbuf> pb(Inkscape::Pixbuf::create_from_file(uri)); 71 if (pb) { 76 double width = pb->width(); 77 double height = pb->height(); 124 sp_embed_image(image_node, pb.get());
|
H A D | cairo-render-context.h | 159 bool renderImage(Inkscape::Pixbuf *pb,
|
/inkscape/src/display/ |
H A D | cairo-utils.cpp | 166 Pixbuf::Pixbuf(GdkPixbuf *pb) argument 167 : _pixbuf(pb) 288 Pixbuf *pb = NULL; local 314 pb = new Pixbuf(buf); 315 pb->_mod_time = stdir.st_mtime; 316 pb->_path = fn; 320 pb->_setMimeData((guchar *) data, len, fmt_name); 333 return pb; 1158 GdkPixbuf *pb = gdk_pixbuf_new_from_data( local 1162 return pb; 1276 ink_pixbuf_ensure_argb32(GdkPixbuf *pb) argument 1297 ink_pixbuf_ensure_normal(GdkPixbuf *pb) argument [all...] |
H A D | drawing-image.h | 31 void setPixbuf(Inkscape::Pixbuf *pb);
|
H A D | drawing-text.cpp | 124 Geom::OptRect pb; local 126 pb = bounds_exact_transformed(*_font->PathVector(_glyph), ctx.ctm); 128 if(!pb){ // Fallback, spaces mostly 130 pb = pbigbox * ctx.ctm; 147 pb.unionWith(padjbox * ctx.ctm); 160 pb->expandBy(0.5 * width); 164 _pick_bbox = pb->roundOutwards(); 175 _pick_bbox = pb->roundOutwards();
|
H A D | drawing-image.cpp | 35 DrawingImage::setPixbuf(Inkscape::Pixbuf *pb) argument 37 _pixbuf = pb;
|
H A D | cairo-utils.h | 24 void convert_pixbuf_argb32_to_normal(GdkPixbuf *pb); 96 explicit Pixbuf(GdkPixbuf *pb);
|
H A D | sodipodi-ctrl.cpp | 523 guint32 *pb = reinterpret_cast<guint32*>(pxb + i*strideb); local 528 *pb++ = argb32_from_rgba(cc | 0x000000ff); 530 EXTRACT_ARGB32(*pb, ab,rb,gb,bb) 535 *pb++ = px;
|
/inkscape/src/ |
H A D | sp-image.cpp | 488 Inkscape::Pixbuf *pb = new Inkscape::Pixbuf(*this->pixbuf); local 489 pb->ensurePixelFormat(Inkscape::Pixbuf::PF_GDK); 491 guchar *px = pb->pixels(); 492 int w = pb->width(); 493 int h = pb->height(); 494 int rs = pb->rowstride(); 504 delete pb; 751 void sp_embed_image(Inkscape::XML::Node *image_node, Inkscape::Pixbuf *pb) argument 760 data = const_cast<guchar *>(pb->getMimeData(len, data_mimetype)); 765 gdk_pixbuf_save_to_buffer(pb [all...] |
H A D | sp-image.h | 74 void sp_embed_image(Inkscape::XML::Node *imgnode, Inkscape::Pixbuf *pb);
|
H A D | sp-ellipse.cpp | 428 Geom::PathBuilder pb; local 429 pb.append(path); 431 pb.lineTo(Geom::Point(0, 0)); 434 pb.closePath(); 436 pb.flush(); 438 curve = new SPCurve(pb.peek());
|
H A D | sp-offset.cpp | 828 int pb, cb, fb; local 830 pb = theRes->getPoint(i).incidentEdge[LAST]; 837 prx = theRes->getEdge(pb).dx; 844 if (theRes->getEdge(pb).en == i) 870 pb = cb; 874 while (cb >= 0 && pb >= 0 && pb != fb);
|
/inkscape/src/ui/tool/ |
H A D | transform-handle-set.h | 102 TransformHandle(TransformHandleSet &th, SPAnchorType anchor, Glib::RefPtr<Gdk::Pixbuf> pb);
|
/inkscape/src/svg/ |
H A D | svg-path-geom-test.h | 416 Geom::Path const &pb = b[i]; member in class:SvgPathGeomTest::Geom 417 if (pa.closed() && !pb.closed()) { 423 if (!pa.closed() && pb.closed()) { 429 if (pa.size() != pb.size()) { 431 sprintf(temp, "Not the same number of segments: %u != %u, subpath: %u", static_cast<unsigned int>(pa.size()), static_cast<unsigned int>(pb.size()), static_cast<unsigned int>(i)); 437 Geom::Curve const* cb = &pb[j];
|
/inkscape/src/ui/dialog/ |
H A D | icon-preview.cpp | 183 GdkPixbuf *pb = gdk_pixbuf_new_from_data( pixMem[i], GDK_COLORSPACE_RGB, TRUE, 8, sizes[i], sizes[i], stride, /*(GdkPixbufDestroyNotify)g_free*/NULL, NULL ); local 184 GtkImage* img = GTK_IMAGE( gtk_image_new_from_pixbuf( pb ) );
|