| | Function | Description |
|---|
| | calculateScaleRatioToFill |
Calculates a scale value to maintain aspect ratio and fill the required
bounds (with the possibility of cutting of the edges a bit). |
| | calculateScaleRatioToFit |
Calculates a scale value to maintain aspect ratio and fit inside the
required bounds (with the possibility of a bit of empty space on the
edges). |
| | getDisplayObjectDepthFromStage |
Calculates how many levels deep the target object is on the display list,
starting from the Starling stage. |
| | nativeToGlobal |
Converts from native coordinates to Starling global coordinates. |
| | stageToStarling |
Finds the Starling instance that controls a particular
starling.display.Stage. |