Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Converts the given 2D position from global coordinates into screen-space.
This effectively applies the current graphics transformations to the given position. A similar Transform:transformPoint method exists for Transform objects.
screenX, screenY = love.graphics.transformPoint( globalX, globalY )
number globalX
number globalY
number screenX
number screenY