Added the option of specifying standard or retina px units.