Examples: Added setPixelRatio(). See #5627.