pixbuf_get_from_texture


Description:


[ Version ( deprecated = true , deprecated_since = "4.12" ) ]
public Pixbuf? pixbuf_get_from_texture (Texture texture)

Warning: pixbuf_get_from_texture is deprecated since 4.12.

Creates a new pixbuf from texture.

Note:

Use [class@Gdk.Texture] and subclasses instead cairo surfaces and pixbufs

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.

Parameters:

texture

a `GdkTexture`

Returns:

a new `GdkPixbuf`


Namespace: Gdk
Package: gtk4