Function gdk4::functions::pixbuf_get_from_texture[][src]

pub fn pixbuf_get_from_texture<P: IsA<Texture>>(texture: &P) -> Option<Pixbuf>
Expand description

Creates a new pixbuf from texture.

This should generally not be used in newly written code as later stages will almost certainly convert the pixbuf back into a texture to draw it on screen.

texture

a Texture

Returns

a new gdk_pixbuf::Pixbuf