toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.render
/
GameWindow
/
Quality
/
computeTargetScale
compute
Target
Scale
fun
computeTargetScale
(
width
:
Int
,
height
:
Int
,
devicePixelRatio
:
Float
,
targetPixels
:
Int
=
UPPER_BOUND_RENDERED_PIXELS
)
:
Float