PHP-GTK
Thursday, October 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGdkVisibilityState
GdkWindowAttributesTypenext

Last updated: Sun, 12 May 2013
view this page in English

GdkVisualType

A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display.

Value

Symbolic name

Description

  0Gdk::VISUAL_STATIC_GRAY Each pixel value indexes a grayscale value directly.
  1Gdk::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.
  2Gdk::VISUAL_STATIC_COLOR Each pixel value is an index into a predefined, unmodifiable color map that maps pixel values into RGB values.
  3Gdk::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.
  4Gdk::VISUAL_TRUE_COLOR Each pixel value directly contains red, green, and blue components. The red_mask, green_mask, and blue_mask fields of the visual structure describe how the components are assembled into a pixel value.
  5Gdk::VISUAL_DIRECT_COLOR Each pixel value contains red, green, and blue components as for Gdk::TRUE_COLOR, but the components are mapped via a color table into the final output table instead of being converted directly.

User Contributed Notes
gdk.enum.visualtype.php
add a note about notes
There are no user contributed notes for this page.


previousGdkVisibilityState
GdkWindowAttributesTypenext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:55 2013 CEST