Hi,

I allready posted this in the enlightenment forum and there I got directed to 
the development list. I hope you can help me with my problem.

I'm currently trying to draw HSV color ranges. I like to build a color dialog 
similar to Gimps color chooser.
But I can not get the HSV ranges drawn correctly. A main problem is that when 
drawing a full range of hue for given values of saturation and value that the 
upper colors are missing. My guess would be that this are the last 60 degrees.

What I found it that there is a missmatch between the documentation of the hsv 
color functions and the real implementation of these functions.
In the documentation it is stated that:
"Values for hue are between 0 and 360, values for saturation and value between 
0 and 1"
But in reality the HSV functions expact all values to range from 0 to 100. 
Could this be the reason for the problem?

Furthermore in the function __imlib_hsv_to_rgb an improved behavior could be 
achieved if the last case statement in the switch would be replaced with a 
default.

Thanks for your suggestions and support,
Alil
-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.web.de/de/entertainment/games/free

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to