blob: 774d18585c8efaa06719483957d207c7243ec1eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _E_HSV_UTILS_H_
#define _E_HSV_UTILS_H_
#include <libgnome/gnome-defs.h>
#include <gdk/gdk.h>
BEGIN_GNOME_DECLS
void e_hsv_to_rgb (gdouble h,
gdouble s,
gdouble v,
gdouble *r,
gdouble *g,
gdouble *b);
void e_rgb_to_hsv (gdouble r,
gdouble g,
gdouble b,
gdouble *h,
gdouble *s,
gdouble *v);
void e_hsv_tweak (GdkColor *colour,
gdouble delta_h,
gdouble delta_s,
gdouble delta_v);
END_GNOME_DECLS
#endif /* _E_HSV_UTILS_H_ */
|