resvg_options_set_shape_rendering_mode method

void resvg_options_set_shape_rendering_mode(
  1. Pointer<resvg_options> opt,
  2. resvg_shape_rendering mode
)

@brief Sets the default shape rendering method.

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

Default: RESVG_SHAPE_RENDERING_GEOMETRIC_PRECISION

Implementation

void resvg_options_set_shape_rendering_mode(
  ffi.Pointer<resvg_options> opt,
  resvg_shape_rendering mode,
) {
  return _resvg_options_set_shape_rendering_mode(
    opt,
    mode.value,
  );
}