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

Method SetContentOrientation

librtt/Display/Rtt_Display.cpp:1680–1697  ·  view source on GitHub ↗

Used to support auto-rotation of Corona views on devices. For simulator, use WindowDidRotate() instead. On some devices (e.g. iPhone), the surface orientation is fixed relative to the device. In this situation, we need to set the orientation of the content in Corona independently of the surface. This function, updates the content dimension data (which is split across Runtime and GPUStream) and te

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

IsPropertyMethod · 0.45
InvalidateMethod · 0.45

Tested by

no test coverage detected