aboutsummaryrefslogtreecommitdiffstats
path: root/README-colorramp
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-12-28 22:58:54 -0500
committerJon Lund Steffensen <jonlst@gmail.com>2015-01-04 16:34:33 -0500
commit9b299132ef8912910df5a90b1628cc3af1efc54d (patch)
treec72a130835c069e060b24781675cee8b5dd531e2 /README-colorramp
parentredshift: Add gamma_is_valid function to check gamma (diff)
downloadredshift-ng-9b299132ef8912910df5a90b1628cc3af1efc54d.tar.gz
redshift-ng-9b299132ef8912910df5a90b1628cc3af1efc54d.tar.bz2
redshift-ng-9b299132ef8912910df5a90b1628cc3af1efc54d.tar.xz
colorramp: Use supplied gamma ramps as initial value
This changes colorramp_fill() to base the ramp calculations on the existing values in the supplied tables, instead of basing it on a pure `i/size` value computed on the fly. All gamma adjustment methods are changed to explicitly initialize the ramps to the `i/size` value before calls to colorramp_fill().
Diffstat (limited to 'README-colorramp')
0 files changed, 0 insertions, 0 deletions