projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d0a18a8
)
include alpha-delta computation in HSV::delta()
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 5 Dec 2014 14:00:36 +0000
(09:00 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 5 Dec 2014 14:01:55 +0000
(09:01 -0500)
libs/canvas/colors.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/colors.cc
b/libs/canvas/colors.cc
index b053e2d1de20a343d87e5229d2d71a57e026e899..361023d300f50f861635cbe21212da77f5b1be4d 100644
(file)
--- a/
libs/canvas/colors.cc
+++ b/
libs/canvas/colors.cc
@@
-376,6
+376,7
@@
HSV::delta (const HSV& other) const
d.s = s - other.s;
d.v = v - other.v;
}
+ d.a = a - other.a;
/* do not clamp - we are returning a delta */
return d;
}