-
public int get_bits_per_rgb ()
Returns the number of significant bits per red, green and blue value.
-
public void get_blue_pixel_details (uint32 mask, int shift, int precision)
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.
-
public ByteOrder get_byte_order ()
Returns the byte order of this visual.
-
public int get_colormap_size ()
Returns the size of a colormap for this visual.
-
public int get_depth ()
Returns the bit depth of this visual.
-
public void get_green_pixel_details (uint32 mask, int shift, int precision)
Obtains values that are needed to calculate green 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.
-
public void get_red_pixel_details (uint32 mask, int shift, 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.
-
public weak Screen get_screen ()
Gets the screen to which this visual belongs
-
public VisualType get_visual_type ()
Returns the type of visual this is (PseudoColor, TrueColor, etc).