MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getXScale

Method getXScale

src/Engine/Action.cpp:46–49  ·  view source on GitHub ↗

* Returns the X scaling factor used by the screen * when this action was fired (used to correct mouse input). * @return Screen's X scaling factor. */

Source from the content-addressed store, hash-verified

44 * @return Screen's X scaling factor.
45 */
46double Action::getXScale() const
47{
48 return _scaleX;
49}
50
51/**
52 * Returns the Y scaling factor used by the screen

Callers 15

runMethod · 0.45
mouseClickMethod · 0.45
mouseClickMethod · 0.45
mouseOverMethod · 0.45
stopScrollingMethod · 0.45
mouseReleaseMethod · 0.45
mouseOverMethod · 0.45
mapOverMethod · 0.45
btnStatsClickMethod · 0.45
handleMethod · 0.45
stopScrollingMethod · 0.45
mouseOverMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected