Revert "toPixel 1.0"

This reverts commit aa38cb787a9a22ead4f0ffb25bb6d3c10d9d288f.