Sets the metrics hinting mode for the font options object. This controls whether metrics are quantized to integer values in device units. See the documentation for #cairo_hint_metrics_t for full details.

cairo_font_options_set_hint_metrics(options, hint_metrics)

Arguments

options

[cairo_font_options_t *] a #cairo_font_options_t

hint_metrics

[int] the new metrics hinting mode

Details

Since: 1.0

C function prototype: void cairo_font_options_set_hint_metrics (cairo_font_options_t *options, cairo_hint_metrics_t hint_metrics)

See also