VKVG  
Vulkan Vector Graphics

◆ vkvg_surface_create_from_image()

VkvgSurface vkvg_surface_create_from_image ( VkvgDevice  dev,
const char *  filePath 
)
Parameters
devThe vkvg device used for creating the surface.
filePathThe path of the image to load for creating the surface.
Returns
The new vkvg surface with the loaded image as content, or null if an error occured.