From b29c1c85c55b211bc8c0441e28f01e5164dd8022 Mon Sep 17 00:00:00 2001 From: Oliver Sander Date: Fri, 23 Mar 2018 22:04:11 +0100 Subject: [PATCH 4/7] Document method drawImageMask --- poppler/OutputDev.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/poppler/OutputDev.h b/poppler/OutputDev.h index c92f85a7..fa3bcee1 100644 --- a/poppler/OutputDev.h +++ b/poppler/OutputDev.h @@ -281,6 +281,11 @@ public: virtual void endActualText(GfxState * /*state*/) {} //----- image drawing + // Draw an image mask. An image mask is a one-bit-per-pixel image, where each pixel + // can only be 'fill color' or 'transparent'. + // + // If 'invert' is false, a sample value of 0 marks the page with the current color, + // and a 1 leaves the previous contents unchanged. If 'invert' is true, these meanings are reversed. virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, GBool interpolate, GBool inlineImg); -- 2.16.2