add helper to convert px to pt