draw_to_pixbuf_async
Description:
[ Version ( since = "1.2" ) ]
public async Pixbuf draw_to_pixbuf_async (int size, int scale_factor, Cancellable? cancellable)
public async Pixbuf draw_to_pixbuf_async (int size, int scale_factor, Cancellable? cancellable)
Renders asynchronously this into a pixbuf at size
and scale_factor
.
This can be used to export the fallback avatar.
Parameters:
this |
an avatar |
size |
the size of the pixbuf |
scale_factor |
the scale factor |
cancellable |
a cancellable |
callback |
a [callback@Gio.AsyncReadyCallback] to call when the avatar is generated |
user_data |
the data to pass to callback function |