resvg_options_set_text_rendering_mode method

void resvg_options_set_text_rendering_mode(
  1. Pointer<resvg_options> opt,
  2. resvg_text_rendering mode
)

@brief Sets the default text rendering method.

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

Default: RESVG_TEXT_RENDERING_OPTIMIZE_LEGIBILITY

Implementation

void resvg_options_set_text_rendering_mode(
  ffi.Pointer<resvg_options> opt,
  resvg_text_rendering mode,
) {
  return _resvg_options_set_text_rendering_mode(
    opt,
    mode.value,
  );
}