resvg_options_set_resources_dir in resvg - Rust
Description: @brief Sets a directory that will be used during relative paths resolving.

# Function resvg::resvg_options_set_resources_dir

source ·

    #[no_mangle]
    pub extern "C" fn resvg_options_set_resources_dir(
        opt: *mut resvg_options,
        path: *const c_char,
    )

Expand description

@brief Sets a directory that will be used during relative paths resolving.

Expected to be the same as the directory that contains the SVG file, but can be set to any.

Must be UTF-8. Can be set to NULL.

Default: NULL