set_scale_height_threshold


Description:

public void set_scale_height_threshold (uint pixels)

Sets the threshold used to determine whether to scale the height of the image.

If a specific height is requested, the image height is allowed to differ by this amount before scaling is employed.

This can be useful to avoid excessive CPU usage when the image differs only slightly to the desired size.

Parameters:

this

A Image

pixels

Number of pixels




2022 vala-language.org