Window.setZoom

機能/意味
Setting the layer magnification
タイプ
Windowクラスのメソッド
構文
setZoom(numer, denom)
引数
numer  Specify the numerator of the magnification as an integer.
denom  Specify the denominator of the scaling factor as an integer.
戻り値
なし (void)
説明
 Specify the magnification of the layer. The image is displayed enlarged or reduced by the size specified by the numerator / denominator.
 If the numerator and denominator have common divisors, they are automatically reduced, so the values read by the Window.zoomNumer and Window.zoomDenom properties may differ from the values specified by this method.
 In the current version of Kirikiri, whether or not interpolation is applied when scaling is affected by the hardware and driver of the graphics card. For hardware or drivers that do not perform interpolation, the image quality will be poor.
 Depending on the options, Kirikiri will check the hardware available for scaling each time the magnification is changed, so this method is suitable for applications where the magnification is continuously changed and production is performed. Is not ...
参照
Window.zoomNumer
Window.zoomDenom