From bd37e7b7063cc8f59170670a3d740e4a48a2472a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 1 May 2020 21:56:58 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- algorithms/dual-alpha_blending | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'algorithms/dual-alpha_blending') diff --git a/algorithms/dual-alpha_blending b/algorithms/dual-alpha_blending index 8312abc..2c84f65 100644 --- a/algorithms/dual-alpha_blending +++ b/algorithms/dual-alpha_blending @@ -36,7 +36,12 @@ variable O). The new alpha blending algorithm This algorithm works as the normal alpha blending algorithm if the opacity is used instead of alpha, -and alpha is set to 1, on the foregrund. +and alpha is set to 1, on the foregrund. This +algorithm is identical to the normal alpha blending +algorithm except that the opacity replaces the +foreground's alpha, and the alpha is treated as any +other colour except all colour colours are still +premultiplied with it, since it is still an opacity. However, since libskrift is a text drawing library, -- cgit v1.2.3-70-g09d2