From 941252bfa8e3ce4d92ac4b1720ca36b0fc405b94 Mon Sep 17 00:00:00 2001 From: Oliver Sander Date: Sun, 13 Aug 2017 19:47:15 +0200 Subject: [PATCH 2/2] Document the updateCTM method --- poppler/OutputDev.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/poppler/OutputDev.h b/poppler/OutputDev.h index a15d56b1..3a522099 100644 --- a/poppler/OutputDev.h +++ b/poppler/OutputDev.h @@ -167,6 +167,12 @@ public: //----- update graphics state virtual void updateAll(GfxState *state); + + // Update the Current Transformation Matrix (CTM), i.e., the new matrix + // given in m11, ..., m32 is combined with the current value of the CTM. + // At the same time, when this method is called, state->getCTM() already + // contains the correct new CTM, so one may as well replace the + // CTM of the renderer with that. virtual void updateCTM(GfxState * /*state*/, double /*m11*/, double /*m12*/, double /*m21*/, double /*m22*/, double /*m31*/, double /*m32*/) {} virtual void updateLineDash(GfxState * /*state*/) {} -- 2.14.1