backingScaleFactor()
Returns the scale factor for drawing the on-screen control to the current screen.
Declaration
func backingScaleFactor() -> DoubleReturn Value
The scale factor.
Discussion
Vertex coordinates already scale properly, but this method can be used for other types of drawings. For example, if you are preparing a texture on the CPU and uploading it, this can tell you how large to make the texture before uploading it.