resvg_options_set_sans_serif_family method

void resvg_options_set_sans_serif_family(
  1. Pointer<resvg_options> opt,
  2. Pointer<Char> family
)

@brief Sets the sans-serif font family.

Must be UTF-8. NULL is not allowed.

Has no effect when the text feature is not enabled.

Default: Arial

Implementation

void resvg_options_set_sans_serif_family(
  ffi.Pointer<resvg_options> opt,
  ffi.Pointer<ffi.Char> family,
) {
  return _resvg_options_set_sans_serif_family(
    opt,
    family,
  );
}