Visual.getBluePixelDetails

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

class Visual
void
getBluePixelDetails
(
out uint mask
,
out int shift
,
out int precision
)

Parameters

mask uint

A pointer to a #guint32 to be filled in, or %NULL

shift int

A pointer to a #gint to be filled in, or %NULL

precision int

A pointer to a #gint to be filled in, or %NULL

Meta

Since

2.22