hsv2rgb.h 380 B

1234567891011121314151617181920212223
  1. /* hsv2rgb.h
  2. * Convert Hue Saturation Value to Red Green Blue
  3. *
  4. * Programme de convertion d'une information HSV en RGB
  5. */
  6. #ifndef HSV2RGB_H
  7. #define HSV2RGB_H
  8. typedef struct {
  9. unsigned char h;
  10. unsigned char s;
  11. unsigned char v;
  12. } hsv_color;
  13. typedef struct {
  14. unsigned char r;
  15. unsigned char g;
  16. unsigned char b;
  17. } rgb_color;
  18. rgb_color hsv2rgb(hsv_color hsv);
  19. #endif