Specifies the numerator of the zoom ratio as an integer.
denom
Specifies the denominator of the zoom ratio as an integer.
Return Value
None (void)
Description
Specifies the zoom ratio of the layer. The image is displayed enlarged or reduced by the size specified by numerator/denominator.
If the numerator and denominator have a common divisor, they are automatically reduced. Therefore, the values read from the Window.zoomNumer and Window.zoomDenom properties may differ from the values specified in this method.
In the current version of Kirikiri, whether interpolation is applied during scaling depends on the graphics card hardware and drivers. If the hardware or driver does not support interpolation, the image quality will be coarse.
Depending on the options, Kirikiri may check for available hardware for scaling every time the zoom ratio is changed. Therefore, this method is not suitable for purposes such as continuously changing the zoom ratio for visual effects.