GDK Reference ManualGDK_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.. enum GdkByteOrder
A set of values describing the possible byte-orders for storing pixel values in memory. GDK_LSB_FIRST The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00. GDK_MSB_FIRST The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xff, 0xee, 0xcc, 0x00.
Lists the available color depths. The returned values are pointers to static storage and should not be modified or freed. depths : a location to store a pointer to an array holding the available color depths. count : a location to store the number of values in depths.
Lists the available visual types. The returned values are pointers to static storage and should not be modified or freed. visual_types : a location to store a pointer to an array holding the available visual types. count : a location to store the number of values in visual types.
Lists the available visuals. Returns : A GList of the available visuals. The list should be freed this list with g_list_free().
Returns the best available color depth. Returns : the best available color depth.
Returns the best available visual type. Returns : the best available visual type.
Returns the system's default visual. Returns : the system's default visual.
Returns the best available visual. Returns : the best available visual.
Returns the best available visual with a certain depth. depth : the desired color depth Returns : the best available visual with depth bits per pixel or NULL if no visuals with that type are available.
Returns the best available visual of a certain visual type. visual_type : the desired visual type. Returns : the visual of the given type with the highest depth or NULL if no visuals of that type are available.
Returns the best available visual depth : the desired visual type. visual_type : the desired depth. Returns : the best available visual with the given depth and visual type, or NULL if no matching visuals are available.
|