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.


basictabler documentation built on June 26, 2021, 5:05 p.m.