poppler/GfxState.h |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 6ab81a63323e8339647f883649bf74f9d96820ae
Author: Oliver Sander <[email protected]>
Date:   Tue Nov 7 17:25:27 2017 +0100

    Document the meaning of the 'type' integer of a shading

diff --git a/poppler/GfxState.h b/poppler/GfxState.h
index 57f37252..bfbf53cd 100644
--- a/poppler/GfxState.h
+++ b/poppler/GfxState.h
@@ -23,6 +23,7 @@
 // Copyright (C) 2011-2014, 2016 Thomas Freitag <[email protected]>
 // Copyright (C) 2013 Lu Wang <[email protected]>
 // Copyright (C) 2015, 2017 Adrian Johnson <[email protected]>
+// Copyright (C) 2017 Oliver Sander <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -867,6 +868,13 @@ protected:
 
   GBool init(GfxResources *res, Dict *dict, OutputDev *out, GfxState *state);
 
+  // 1: Function-based shading
+  // 2: Axial shading
+  // 3: Radial shading
+  // 4: Free-form Gouraud-shaded triangle mesh
+  // 5: Lattice-form Gouraud-shaded triangle mesh
+  // 6: Coons patch mesh
+  // 7: Tensor-product patch mesh
   int type;
   GBool hasBackground;
   GBool hasBBox;
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to