resvg_options_set_resources_dir method

void resvg_options_set_resources_dir(
  1. Pointer<resvg_options> opt,
  2. Pointer<Char> path
)

@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

Implementation

void resvg_options_set_resources_dir(
  ffi.Pointer<resvg_options> opt,
  ffi.Pointer<ffi.Char> path,
) {
  return _resvg_options_set_resources_dir(
    opt,
    path,
  );
}