File: cpp11.R

package info (click to toggle)
r-cran-textshaping 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 272 kB
  • sloc: cpp: 1,320; sh: 59; ansic: 52; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)
}