summaryrefslogtreecommitdiff
path: root/draw/draw_blend.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-12-21 20:34:30 +0100
committerTor Andersson <tor.andersson@artifex.com>2011-12-21 20:35:32 +0100
commit3562831bfbb270c2cc4726780426290118771c66 (patch)
tree85caf271e49e64521b44cc0fe037bd654f6f85f7 /draw/draw_blend.c
parente465b579a4137757ca5239a9ca4c51a930a6a363 (diff)
downloadmupdf-3562831bfbb270c2cc4726780426290118771c66.tar.xz
Fix whitespace.
Diffstat (limited to 'draw/draw_blend.c')
-rw-r--r--draw/draw_blend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/draw/draw_blend.c b/draw/draw_blend.c
index 2f72ec9c..6775e79d 100644
--- a/draw/draw_blend.c
+++ b/draw/draw_blend.c
@@ -380,9 +380,9 @@ fz_blend_separable_nonisolated(byte * restrict bp, byte * restrict sp, int n, in
/* Because we are a non-isolated group, we need to
* 'uncomposite' before we blend (recomposite).
* We assume that normal blending has been done inside
- * the group, so: ra.rc = (1-ha).bc + ha.sc
+ * the group, so: ra.rc = (1-ha).bc + ha.sc
* A bit of rearrangement, and that gives us that:
- * sc = (ra.rc - bc)/ha + bc
+ * sc = (ra.rc - bc)/ha + bc
* Now, the result of the blend was stored in src, so:
*/
int invha = ha ? 255 * 256 / ha : 0;
@@ -447,9 +447,9 @@ fz_blend_nonseparable_nonisolated(byte * restrict bp, byte * restrict sp, int w,
* need to 'uncomposite' before we blend
* (recomposite). We assume that normal
* blending has been done inside the group,
- * so: ra.rc = (1-ha).bc + ha.sc
+ * so: ra.rc = (1-ha).bc + ha.sc
* A bit of rearrangement, and that gives us
- * that: sc = (ra.rc - bc)/ha + bc
+ * that: sc = (ra.rc - bc)/ha + bc
* Now, the result of the blend was stored in
* src, so: */
int invha = ha ? 255 * 256 / ha : 0;