Github User Fetcher
1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcolorutils.h
Go to the documentation of this file.
1
/* Color utilities
2
*
3
* Copyright (C) 1999 The Free Software Foundation
4
*
5
* Authors: Simon Budig <Simon.Budig@unix-ag.org> (original code)
6
* Federico Mena-Quintero <federico@gimp.org> (cleanup for GTK+)
7
* Jonathan Blandford <jrb@redhat.com> (cleanup for GTK+)
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2 of the License, or (at your option) any later version.
13
*
14
* This library is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
21
*/
22
23
/*
24
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
25
* file for a list of people on the GTK+ Team. See the ChangeLog
26
* files for a list of changes. These files are distributed with
27
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
28
*/
29
30
#pragma once
31
32
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
33
#error "Only <gtk/gtk.h> can be included directly."
34
#endif
35
36
#include <
glib.h
>
37
#include <
gdk/gdk.h
>
38
39
G_BEGIN_DECLS
40
41
GDK_AVAILABLE_IN_ALL
42
void
gtk_hsv_to_rgb
(
float
h,
float
s
,
float
v,
43
float
*r,
float
*g,
float
*b);
44
GDK_AVAILABLE_IN_ALL
45
void
gtk_rgb_to_hsv
(
float
r,
float
g,
float
b,
46
float
*h,
float
*
s
,
float
*v);
47
48
G_END_DECLS
49
GDK_AVAILABLE_IN_ALL
#define GDK_AVAILABLE_IN_ALL
Definition
gdk-visibility.h:22
gdk.h
glib.h
G_END_DECLS
#define G_END_DECLS
Definition
gmacros.h:910
G_BEGIN_DECLS
#define G_BEGIN_DECLS
Definition
gmacros.h:909
gtk_rgb_to_hsv
GDK_AVAILABLE_IN_ALL void gtk_rgb_to_hsv(float r, float g, float b, float *h, float *s, float *v)
gtk_hsv_to_rgb
G_BEGIN_DECLS GDK_AVAILABLE_IN_ALL void gtk_hsv_to_rgb(float h, float s, float v, float *r, float *g, float *b)
s
CURL_EXTERN CURLMcode curl_socket_t s
Definition
multi.h:318
nix
store
v9wbd5iwvxl666sf67ard7lvjamhggbk-gtk4-4.16.12-dev
include
gtk-4.0
gtk
gtkcolorutils.h
Generated by
1.10.0