parseCssSizeToPt: Convert a CSS size value into points.

Description Usage Arguments Value

View source: R/styleParsing.R

Description

parseCssSizeToPt will take a CSS style and convert it to points. Supported input size units are in, cm, mm, pt, pc, px, em, are converted exactly: in, cm, mm, pt, pc: using 1in = 2.54cm = 25.4mm = 72pt = 6pc. The following are converted approximately: px, em, approx 1em=16px=12pt and 100

Usage

1

Arguments

size

A size specified in common CSS units.

Value

The size converted to points.


cbailiss/basictabler documentation built on July 2, 2021, 1:16 a.m.