get_red_pixel_details
Description:
[ Version ( since = "2.22" ) ]
public void get_red_pixel_details (out uint32 mask, out int shift, out int precision)
public void get_red_pixel_details (out uint32 mask, out int shift, out int precision)
Obtains values that are needed to calculate red 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.
Parameters:
this |
A Visual |
mask |
A pointer to a uint32 to be filled in, or null |
shift |
A pointer to a int to be filled in, or null |
precision |
A pointer to a int to be filled in, or null |