metacoder (version 0.2.1)

text_grob_length: Estimate text grob length

Description

Estimate the printed length of `resizingTextGrob` text

Usage

text_grob_length(text, rot = 0)

Arguments

text

character The text to be printed

rot

The rotation in radians

Value

The estimated length of the printed text as a multiple of its text size (height)