MCPcopy Create free account
hub / github.com/coronalabs/corona / GetScale

Method GetScale

platform/android/ndk/AndroidImageData.cpp:104–107  ·  view source on GitHub ↗

Gets the scale of this image compared to the original image file that was loaded. scale = loadedImageWidth / originalImageWidth This is needed in case the image had to be downscaled/downsampled, in which case, the rendering system will need to upscale the image's rectangle back to the original image size. Note that this ImageData object's width and height represents the load image's

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected