set_scale_width_threshold


Description:

public void set_scale_width_threshold (uint pixels)

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

If a specific width is requested, the image width 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