draw_to_texture


Description:

public Texture draw_to_texture (int scale_factor)

Renders this into a [class@Gdk.

Texture] at scale_factor.

This can be used to export the fallback avatar.

Parameters:

this

an avatar

scale_factor

The scale factor

Returns:

the texture




2022 vala-language.org