PxToPt: Convert a number of pixels to points

Description Usage Arguments Value

View source: R/styleParsing.R

Description

PxToPt converts pixels to points. 1inch = 72pt = 96px according to W3C. Ref: https://www.w3.org/TR/css3-values/#absolute-lengths

Usage

1
PxToPt(px)

Arguments

px

The number of pixels convert.

Value

The corresponding number of points.


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