This example enables HIGHDPI and renders a scale showing how the logical size compares to the pixel size of the window.