VKVG
Vulkan Vector Graphics
Loading...
Searching...
No Matches
Surface
vkvg_surface_clear
vkvg_surface_create
vkvg_surface_create_for_VkhImage
vkvg_surface_create_from_bitmap
vkvg_surface_create_from_image
vkvg_surface_destroy
vkvg_surface_get_height
vkvg_surface_get_reference_count
vkvg_surface_get_vk_format
vkvg_surface_get_vk_image
vkvg_surface_get_width
vkvg_surface_reference
vkvg_surface_resolve
vkvg_surface_status
vkvg_surface_write_to_memory
vkvg_surface_write_to_png
VkvgSurface
◆
vkvg_surface_create_from_image()
VkvgSurface
vkvg_surface_create_from_image
(
VkvgDevice
dev
,
const char *
filePath
)
Parameters
dev
The vkvg device used for creating the surface.
filePath
The 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.
Generated by
1.9.8