pointsToPixels function

num pointsToPixels (
  1. num points,
  2. num ppi
)

Implementation

num pointsToPixels(num points, num ppi) {
  return points / 72 * ppi;
}