diff options
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 11 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index e656df393b53..4d915ce73be1 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -962,6 +962,17 @@ void PDFOutDev::eoClip(GfxState *state) printf( "\n" ); } +void PDFOutDev::clipToStrokePath(GfxState *state) +{ + if (m_bSkipImages) + return; + assert(state); + + printf( "clipToStrokePath" ); + printPath( state->getPath() ); + printf( "\n" ); +} + /** Output one glyph diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index 6a35d119314b..eb0e3e29f5f5 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -227,6 +227,7 @@ namespace pdfi //----- path clipping virtual void clip(GfxState *state) override; virtual void eoClip(GfxState *state) override; + virtual void clipToStrokePath(GfxState *state) override; //----- text drawing #if POPPLER_CHECK_VERSION(0, 82, 0) |