diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-01 21:52:52 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-01 21:52:52 +0200 |
commit | 5cca7f15b42dc4df01c9199e9e64770e599d36ef (patch) | |
tree | 8a0cd9f6b40e92cc883793fa0f055bcc92f3b7e4 | |
parent | Add flag for ignoring variant selectors that the font does not support (diff) | |
download | libskrift-5cca7f15b42dc4df01c9199e9e64770e599d36ef.tar.gz libskrift-5cca7f15b42dc4df01c9199e9e64770e599d36ef.tar.bz2 libskrift-5cca7f15b42dc4df01c9199e9e64770e599d36ef.tar.xz |
m fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | algorithms/dual-alpha_blending | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/algorithms/dual-alpha_blending b/algorithms/dual-alpha_blending index ef16f3e..8312abc 100644 --- a/algorithms/dual-alpha_blending +++ b/algorithms/dual-alpha_blending @@ -30,9 +30,9 @@ the background object): opacity (we will call this variable O). The new alpha blending algorithm (“dual-alpha blending”) is: - C_out⋅A_out = C_bg⋅A_bg⋅O⋅(1 − A_fg⋅O) + C_fg⋅A_fg⋅O + C_out⋅A_out = C_bg⋅A_bg⋅(1 − O) + C_fg⋅A_fg⋅O - A_out = A_bg⋅O⋅(1 − A_fg⋅O) + A_fg⋅O + A_out = A_bg⋅(1 − O) + A_fg⋅O This algorithm works as the normal alpha blending algorithm if the opacity is used instead of alpha, |