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

Skip to main content

## resvg_options_set_resources_dir

# Function resvg_options_set_resources_dir

Source

    #[unsafe(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