colors



Hi there,

I need some more understanding of X and colors. Please could tell
someone whether these statements are true:

  1. a color always belongs to a colormap when it is used
  2. a colormap always belongs to a visual
  3. a visual has only one colormap type (all colormaps have equal size)
  4. a visual can have multiple colormaps (which can be switched ?)
  5. the pixel value of GdkColor stays always the same once it was said
     (or is it modified when the color is allocated in a map ?)

Thank you,
  Helge



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]