Handle.from_data


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.14" ) ]
public Handle.from_data (uint8[] data) throws Error

Loads the SVG specified by data.

Note that this function creates an [[email protected]] without a base URL, and without any [[email protected]]. If you need these, use [[email protected]_from_stream_sync] instead by creating a [[email protected]] from your data.

Parameters:

data

The SVG data

data_len

The length of data, in bytes

Returns:

A [[email protected]] or `NULL` if an error occurs.




2022 vala-language.org