Window.setZoom

Function/Meaning

[Windows *] Layer magnification setting

Type
Windowclassmethod of
Syntax
setZoom(numer, denom)
Arguments
numer

Specify the numerator of magnification as an integer.

denom

Specify the denominator of the magnification as an integer.

Return value
None (void)
Explanation

Specifies the magnification of the layer.
The image is enlarged or reduced to the size specified by the numerator / denominator.
If the numerator / denominator has a common divisor, it is automatically reduced, so the value read by the Window.zoomNumer property or Window.zoomDenom property may differ from the value specified by this method.
In the current version of Kirikiri, whether or not interpolation is applied when enlarging / reducing depends on the hardware and driver of the graphic card.
If the hardware or driver does not require interpolation, the image quality will be poor.
Depending on the option, KiriKiri investigates the hardware that can be used for enlargement / reduction every time the magnification is changed, so this method is suitable for applications where the enlargement ratio is continuously changed for production. Is not ...
Has no meaning when drawing the Canvas

Reference
Window.zoomNumer
Window.zoomDenom