| RSVG Libary Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum RsvgHandleFlags;void rsvg_handle_set_base_gfile (RsvgHandle *handle,);GFile *base_filegboolean rsvg_handle_read_stream_sync (RsvgHandle *handle,,GInputStream *stream,GCancellable *cancellable); RsvgHandle * rsvg_handle_new_from_gfile_sync (GError **error,GFile *fileRsvgHandleFlags flags,,GCancellable *cancellable); RsvgHandle * rsvg_handle_new_from_stream_sync (GError **error,GInputStream *input_stream,GFile *base_fileRsvgHandleFlags flags,,GCancellable *cancellable);GError **error
void rsvg_handle_set_base_gfile (RsvgHandle *handle,);GFile *base_file
Set the base URI for handle from file.
Note: This function may only be called before rsvg_handle_write()
or rsvg_handle_read_stream_sync() has been called.
|
a RsvgHandle |
|
a |
Since 2.32
gboolean rsvg_handle_read_stream_sync (RsvgHandle *handle,,GInputStream *stream,GCancellable *cancellable);GError **error
Reads stream and writes the data from it to handle.
If cancellable is not NULL
|
a RsvgHandle |
|
a |
|
a NULL |
|
a location to store a NULL |
Returns : |
TRUEstream succeeded, or FALSEerror filled in
|
Since 2.32
RsvgHandle * rsvg_handle_new_from_gfile_sync (,GFile *fileRsvgHandleFlags flags,,GCancellable *cancellable);GError **error
Creates a new RsvgHandle for file.
If cancellable is not NULL
|
a |
|
flags from RsvgHandleFlags |
|
a NULL |
|
a location to store a NULL |
Returns : |
a new RsvgHandle on success, or NULLerror filled in
|
Since 2.32
RsvgHandle * rsvg_handle_new_from_stream_sync (,GInputStream *input_stream,GFile *base_fileRsvgHandleFlags flags,,GCancellable *cancellable);GError **error
Creates a new RsvgHandle for stream.
If cancellable is not NULL
|
a |
|
a NULL |
|
flags from RsvgHandleFlags |
|
a NULL |
|
a location to store a NULL |
Returns : |
a new RsvgHandle on success, or NULLerror filled in
|
Since 2.32