Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
a7b66395
Commit
a7b66395
authored
Nov 14, 2020
by
Kurt Hindenburg
Browse files
Update hsluv.* files from
https://github.com/hsluv/hsluv-c
This only updates copyright emails and small document addition.
parent
1af0a1d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/colorscheme/hsluv.c
View file @
a7b66395
...
...
@@ -3,9 +3,9 @@
* <https://github.com/hsluv/hsluv-c>
* <https://www.hsluv.org/>
*
* Copyright (c) 2015 Alexei Boronine
<alexei@boronine.com>
(original idea, JavaScript implementation)
* Copyright (c) 2015 Roger Tallada
<roger.tallada@gmail.com>
(Obj-C implementation)
* Copyright (c) 2017 Martin Mitas
<mity@morous.org>
(C implementation, based on Obj-C implementation)
* Copyright (c) 2015 Alexei Boronine (original idea, JavaScript implementation)
* Copyright (c) 2015 Roger Tallada (Obj-C implementation)
* Copyright (c) 2017 Martin Mitas (C implementation, based on Obj-C implementation)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
...
...
src/colorscheme/hsluv.h
View file @
a7b66395
...
...
@@ -3,9 +3,9 @@
* <https://github.com/hsluv/hsluv-c>
* <https://www.hsluv.org/>
*
* Copyright (c) 2015 Alexei Boronine
<alexei@boronine.com>
(original idea, JavaScript implementation)
* Copyright (c) 2015 Roger Tallada
<roger.tallada@gmail.com>
(Obj-C implementation)
* Copyright (c) 2017 Martin Mitas
<mity@morous.org>
(C implementation, based on Obj-C implementation)
* Copyright (c) 2015 Alexei Boronine (original idea, JavaScript implementation)
* Copyright (c) 2015 Roger Tallada (Obj-C implementation)
* Copyright (c) 2017 Martin Mitas (C implementation, based on Obj-C implementation)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
...
...
@@ -79,6 +79,9 @@ void hpluv2rgb(double h, double s, double l, double* pr, double* pg, double* pb)
* @param[out] ph Hue. Between 0.0 and 360.0.
* @param[out] ps Saturation. Between 0.0 and 100.0.
* @param[out] pl Lightness. Between 0.0 and 100.0.
*
* Note that HPLuv does not contain all the colors of RGB, so converting
* arbitrary RGB to it may generate invalid HPLuv colors.
*/
void
rgb2hpluv
(
double
r
,
double
g
,
double
b
,
double
*
ph
,
double
*
ps
,
double
*
pl
);
...
...
Kurt Hindenburg
@hindenburg
mentioned in commit
7d8e4cf9
·
Nov 15, 2020
mentioned in commit
7d8e4cf9
mentioned in commit 7d8e4cf94b2a5003d3cb43831d054c0fe8322e8f
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment