summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-17 01:41:20 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-17 01:41:20 +0000
commit3ac42a2ad5c49724d4972bac4f729d1a2ed57423 (patch)
treecf685c23608d4d06df7b93f2391da97a012f8009 /draw
parent2c79e6f2ccb72e8115aa51089f69be2560603016 (diff)
downloadmupdf-3ac42a2ad5c49724d4972bac4f729d1a2ed57423.tar.xz
Support SMasks for general graphics (incomplete).
Diffstat (limited to 'draw')
-rw-r--r--draw/blendmodes.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/draw/blendmodes.c b/draw/blendmodes.c
index 11cb627f..713b6cf2 100644
--- a/draw/blendmodes.c
+++ b/draw/blendmodes.c
@@ -2,6 +2,27 @@
typedef unsigned char byte;
+const char *fz_blendnames[] =
+{
+ "Normal",
+ "Multiply",
+ "Screen",
+ "Overlay",
+ "Darken",
+ "Lighten",
+ "ColorDodge",
+ "ColorBurn",
+ "HardLight",
+ "SoftLight",
+ "Difference",
+ "Exclusion",
+ "Hue",
+ "Saturation",
+ "Color",
+ "Luminosity",
+ nil
+};
+
/*
PDF 1.4 blend modes.
Only the actual blend routines are here, not the rendering logic.