resvg_options_set_image_rendering_mode method

void resvg_options_set_image_rendering_mode(
  1. Pointer<resvg_options> opt,
  2. resvg_image_rendering mode
)

@brief Sets the default image rendering method.

Will be used when an SVG element's image-rendering property is set to auto.

Default: RESVG_IMAGE_RENDERING_OPTIMIZE_QUALITY

Implementation

void resvg_options_set_image_rendering_mode(
  ffi.Pointer<resvg_options> opt,
  resvg_image_rendering mode,
) {
  return _resvg_options_set_image_rendering_mode(
    opt,
    mode.value,
  );
}