Lines Matching defs:pixbuf
482 * \brief Copies image data from a Cairo surface to a pixbuf
490 GdkPixbuf *pixbuf)
503 pixbuf_data = gdk_pixbuf_get_pixels (pixbuf);
504 pixbuf_rowstride = gdk_pixbuf_get_rowstride (pixbuf);
505 pixbuf_n_channels = gdk_pixbuf_get_n_channels (pixbuf);
507 if (cairo_width > gdk_pixbuf_get_width (pixbuf))
508 cairo_width = gdk_pixbuf_get_width (pixbuf);
509 if (cairo_height > gdk_pixbuf_get_height (pixbuf))
510 cairo_height = gdk_pixbuf_get_height (pixbuf);
546 // Create the pixbuf for the thumbnail