Method
HandyAvatardraw_to_pixbuf_async
since: 1.2
Declaration [src]
void
hdy_avatar_draw_to_pixbuf_async (
  HdyAvatar* self,
  gint size,
  gint scale_factor,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Renders asynchronously self into a pixbuf at size and scale_factor.
This can be used to export the fallback avatar.
Available since: 1.2
Parameters
- size
- 
            Type: gintThe size of the pixbuf. 
- scale_factor
- 
            Type: gintThe scale factor. 
- cancellable
- 
            Type: GCancellableA cancellable. The argument can be NULL.The data is owned by the caller of the function. 
- callback
- 
            Type: GAsyncReadyCallbackA GAsyncReadyCallbackto call when the avatar is generated.The argument can be NULL.
- user_data
- 
            Type: gpointerThe data to pass to callback function. The argument can be NULL.The data is owned by the caller of the function.