resvg_options_set_sans_serif_family in resvg - Rust
Description: @brief Sets the `sans-serif` font family.

Skip to main content

## resvg_options_set_sans_serif_family

# Function resvg_options_set_sans_serif_family

Source

    #[unsafe(no_mangle)]pub extern "C" fn resvg_options_set_sans_serif_family(
        opt: *mut resvg_options,
        family: *const c_char,
    )

Expand description

@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