[vox-tech] xlib/gdk questions

vox-tech@lists.lugod.org vox-tech@lists.lugod.org
Mon, 3 Jun 2002 19:18:32 -0400


On Mon, Jun 03, 2002 at 01:44:29PM -0700, Peter Jay Salzman wrote:
> > I think when you do local colormap, it gives you what it can, or a
> > 'best fit' color, if there's no more room to alloc. colors.
>  
> ok -- i know there's a gdk function that returns the "best approximate
> color" to some given color you want.  there must be a corresponding xlib
> function.  there must be a function that tells you how "close" your
> Color is to the requested Color.

"must be a function": sure does, but I suspect the function names start 
  with "my_X"... ;)