PxToPt: Convert a number of pixels to points

View source: R/styleParsing.R

PxToPtR Documentation

Convert a number of pixels to points

Description

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

Usage

PxToPt(px)

Arguments

px

The number of pixels convert.

Value

The corresponding number of points.


basictabler documentation built on June 8, 2025, 10:52 a.m.