get_bits_per_rgb


Description:

[ Version ( deprecated = true , deprecated_since = "3.22." , since = "2.22" ) ]
public int get_bits_per_rgb ()

Warning: get_bits_per_rgb is deprecated since 3.22..

Returns the number of significant bits per red, green and blue value.

Note:

Use get_red_pixel_details and its variants to learn about the pixel layout of TrueColor and DirectColor visuals

Not all GDK backend provide a meaningful value for this function.

Parameters:

this

a Visual

Returns:

The number of significant bits per color value for this.




2022 vala-language.org