Constructor
Rsvg.Handle.new_from_file
Declaration [src]
RsvgHandle*
rsvg_handle_new_from_file (
const gchar* filename,
GError** error
)
Description [src]
Loads the SVG specified by file_name
. Note that this function, like
rsvg_handle_new()
, does not specify any loading flags for the resulting
handle. If you require the use of RsvgHandleFlags
, use
rsvg_handle_new_from_gfile_sync()
.
Available since: | 2.14 |
Parameters
filename |
const gchar* |
The file name to load, or a URI. |
|
The data is owned by the caller of the function | |
The string is a NUL terminated UTF-8 string |
Return value
Returns: RsvgHandle |
|
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it | |
Can be NULL |