Package: gdk

Function gdk-visual-green-pixel-details

Lambda List

gdk-visual-green-pixel-details (visual)

Arguments

visual -- a gdk-visual object

Return Value

mask -- an unsigned integer, or nil
shift -- an integer, or nil
precision -- an integer, or nil

Details

Obtains values that are needed to calculate green pixel values in TrueColor and DirectColor. The mask argument is the significant bits within the pixel. shift is the number of bits left we must shift a primary for it to be in position according to mask. Finally, precision refers to how much precision the pixel value contains for a particular primary.
 

See also

2021-12-14