GdkVisualType

A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display. GDK_VISUAL_STATIC_GRAY Each pixel value indexes a grayscale value directly. GDK_VISUAL_GRAYSCALE Each pixel is an index into a color map that maps pixel values into grayscale values. The color map can be changed by an application. GDK_VISUAL_STATIC_COLOR Each pixel value is an index into a predefined, unmodifiable color map that maps pixel values into RGB values. GDK_VISUAL_PSEUDO_COLOR Each pixel is an index into a color map that maps pixel values into rgb values. The color map can be changed by an application. GDK_VISUAL_TRUE_COLOR Each pixel value directly contains red, green, and blue components. The red_mask, green_mask, and blue_mask fields of the GdkVisual structure describe how the components are assembled into a pixel value. GDK_VISUAL_DIRECT_COLOR Each pixel value contains red, green, and blue components as for GDK_VISUAL_TRUE_COLOR, but the components are mapped via a color table into the final output table instead of being converted directly.

Values

ValueMeaning
STATIC_GRAY
GRAYSCALE
STATIC_COLOR
PSEUDO_COLOR
TRUE_COLOR
DIRECT_COLOR

Meta