support requesting either pixels or points