# Generated by cpp11: do not edit by hand

dev_string_widths_c <- function(string, family, face, size, cex, unit) {
  .Call("_systemfonts_dev_string_widths_c", string, family, face, size, cex, unit, PACKAGE = "systemfonts")
}

dev_string_metrics_c <- function(string, family, face, size, cex, unit) {
  .Call("_systemfonts_dev_string_metrics_c", string, family, face, size, cex, unit, PACKAGE = "systemfonts")
}

load_emoji_codes_c <- function(all, default_text, base_mod) {
  invisible(.Call("_systemfonts_load_emoji_codes_c", all, default_text, base_mod, PACKAGE = "systemfonts"))
}

emoji_split_c <- function(string, path, index) {
  .Call("_systemfonts_emoji_split_c", string, path, index, PACKAGE = "systemfonts")
}

get_fallback_c <- function(path, index, string) {
  .Call("_systemfonts_get_fallback_c", path, index, string, PACKAGE = "systemfonts")
}

match_font_c <- function(family, italic, bold) {
  .Call("_systemfonts_match_font_c", family, italic, bold, PACKAGE = "systemfonts")
}

system_fonts_c <- function() {
  .Call("_systemfonts_system_fonts_c", PACKAGE = "systemfonts")
}

reset_font_cache_c <- function() {
  invisible(.Call("_systemfonts_reset_font_cache_c", PACKAGE = "systemfonts"))
}

get_font_info_c <- function(path, index, size, res) {
  .Call("_systemfonts_get_font_info_c", path, index, size, res, PACKAGE = "systemfonts")
}

get_glyph_info_c <- function(glyphs, path, index, size, res) {
  .Call("_systemfonts_get_glyph_info_c", glyphs, path, index, size, res, PACKAGE = "systemfonts")
}

register_font_c <- function(family, paths, indices, features, settings) {
  invisible(.Call("_systemfonts_register_font_c", family, paths, indices, features, settings, PACKAGE = "systemfonts"))
}

clear_registry_c <- function() {
  invisible(.Call("_systemfonts_clear_registry_c", PACKAGE = "systemfonts"))
}

registry_fonts_c <- function() {
  .Call("_systemfonts_registry_fonts_c", PACKAGE = "systemfonts")
}

get_string_shape_c <- function(string, id, path, index, size, res, lineheight, align, hjust, vjust, width, tracking, indent, hanging, space_before, space_after) {
  .Call("_systemfonts_get_string_shape_c", string, id, path, index, size, res, lineheight, align, hjust, vjust, width, tracking, indent, hanging, space_before, space_after, PACKAGE = "systemfonts")
}

get_line_width_c <- function(string, path, index, size, res, include_bearing) {
  .Call("_systemfonts_get_line_width_c", string, path, index, size, res, include_bearing, PACKAGE = "systemfonts")
}
