Method
GdkTextureDownloaderdownload_bytes
Declaration [src]
GBytes*
gdk_texture_downloader_download_bytes (
const GdkTextureDownloader* self,
gsize* out_stride
)
Description [src]
Downloads the given texture pixels into a GBytes
. The rowstride will
be stored in the stride value.
This function will abort if it tries to download a large texture and
fails to allocate memory. If you think that may happen, you should handle
memory allocation yourself and use gdk_texture_downloader_download_into()
once allocation succeeded.
Available since: | 4.10 |