From f2736d91627fbbe879b9692d0dc98013a59fe655 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 1 Sep 2014 18:25:26 +0000 Subject: update hsl2rgb --- hsl2rgb.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hsl2rgb.h (limited to 'hsl2rgb.h') diff --git a/hsl2rgb.h b/hsl2rgb.h new file mode 100644 index 0000000..95cc231 --- /dev/null +++ b/hsl2rgb.h @@ -0,0 +1,26 @@ +/* $Id$ */ +/* + * Copyright (c) 2014 Dimitri Sokolyuk + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef __HSL2RGB_H +#define __HSL2RGB_H + +void hsl2rgb( + unsigned short *r, unsigned short *g, unsigned short *b, + double h, double s, double v +); + +#endif -- cgit v1.2.3