C
ImageFiles.MCU.resourceOptimizeForRotation
Enable optimizations for rotating the image at runtime.
Description
This property can be used to either enable or disable platform-specific optimizations for rotating an image at runtime. It can be either true
or false
. It is set to false
by default.
Usage
This property is accepted in any context where its parent node is accepted. It takes a boolean value.
Code example:
ImageFiles { MCU.resourceOptimizeForRotation: true }
Note: This property can also be applied to every image resource in the QmlProject file if defined in MCU.Config as follows:
MCU.Config { resourceOptimizeForRotation: true }
Since
This property was introduced in QmlProject API 1.3 .
See also Image optimizations and QUL_RESOURCE_OPTIMIZE_FOR_ROTATION.
Available under certain Qt licenses.
Find out more.