R/cpp11.R

Defines functions get_line_width_c get_string_shape_c get_face_features_c

# Generated by cpp11: do not edit by hand

get_face_features_c <- function(path, index) {
  .Call(`_textshaping_get_face_features_c`, path, index)
}

get_string_shape_c <- function(string, id, path, index, size, res, lineheight, align, hjust, vjust, width, tracking, indent, hanging, space_before, space_after) {
  .Call(`_textshaping_get_string_shape_c`, string, id, path, index, size, res, lineheight, align, hjust, vjust, width, tracking, indent, hanging, space_before, space_after)
}

get_line_width_c <- function(string, path, index, size, res, include_bearing) {
  .Call(`_textshaping_get_line_width_c`, string, path, index, size, res, include_bearing)
}

Try the textshaping package in your browser

Any scripts or data that you put into this service are public.

textshaping documentation built on June 9, 2021, 5:07 p.m.