The width of the scale bar in physical pixels on the screen.
The current scaled zoom value (units of current drawing scope per physical pixel).
The real-world length the scale bar represents, in the units of the currentScope implied by scaledZoom.
Calculates the real-world length a scale bar represents on the screen.
scaledZoomis the value representing how many units of the current drawing scope one physical pixel covers. Multiplying this by the pixel width of the scale bar gives its total real-world length.