Lines Matching defs:pixbuf

130     this->pixbuf = 0;
162 delete this->pixbuf;
163 this->pixbuf = NULL;
258 void SPImage::apply_profile(Inkscape::Pixbuf *pixbuf) {
262 pixbuf->ensurePixelFormat(Inkscape::Pixbuf::PF_GDK);
263 int imagewidth = pixbuf->width();
264 int imageheight = pixbuf->height();
265 int rowstride = pixbuf->rowstride();;
266 guchar* px = pixbuf->pixels();
334 delete this->pixbuf;
335 this->pixbuf = NULL;
338 Inkscape::Pixbuf *pixbuf = NULL;
339 pixbuf = sp_image_repr_read_image (
344 if (pixbuf) {
346 if ( this->color_profile ) apply_profile( pixbuf );
348 this->pixbuf = pixbuf;
355 // Why continue without a pixbuf? So we can display "Missing Image" png.
358 if (this->pixbuf) {
371 this->width.computed = this->pixbuf->width();
376 this->height.computed = this->pixbuf->height();
407 if (this->pixbuf) {
409 // Viewbox is either from SVG (not supported) or dimensions of pixbuf (PNG, JPG)
410 this->viewBox = Geom::Rect::from_xywh(0, 0, this->pixbuf->width(), this->pixbuf->height());
487 if (this->pixbuf && (this->width.computed > 0.0) && (this->height.computed > 0.0) ) {
488 Inkscape::Pixbuf *pb = new Inkscape::Pixbuf(*this->pixbuf);
524 char *ret = ( this->pixbuf == NULL
527 this->pixbuf->width(),
528 this->pixbuf->height(),
614 GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data((const gchar **) brokenimage_xpm);
615 inkpb = new Inkscape::Pixbuf(pixbuf);
624 /* We assert that realpixbuf is either NULL or identical size to pixbuf */
629 ai->setPixbuf(image->pixbuf);
755 // check whether the pixbuf has MIME data
796 if ( image->href && image->pixbuf && image->pixbuf->modificationTime()) {
802 if (g_file_test (image->pixbuf->originalPath().c_str(), G_FILE_TEST_EXISTS)){
803 val = g_stat(image->pixbuf->originalPath().c_str(), &st);
807 if ( st.st_mtime != image->pixbuf->modificationTime() ) {