diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-01 10:35:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-01 12:09:04 +0000 |
commit | d9262e19c942f2719bfa7de3a5059e4f6e0039c6 (patch) | |
tree | 8380b7cd97241e4fe9b5f1feae0e45132d267b07 /include/basegfx | |
parent | 03899e1284db150d2da78b725aba7180147123c4 (diff) |
ofz: timeout loading emf with move clip record
Change-Id: Id5d60f0037873598e1447b063e66e9c29840587c
Reviewed-on: https://gerrit.libreoffice.org/34740
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/range/b2dpolyrange.hxx | 3 | ||||
-rw-r--r-- | include/basegfx/tools/b2dclipstate.hxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/basegfx/range/b2dpolyrange.hxx b/include/basegfx/range/b2dpolyrange.hxx index f3494c177b6d..bfd36303a16c 100644 --- a/include/basegfx/range/b2dpolyrange.hxx +++ b/include/basegfx/range/b2dpolyrange.hxx @@ -30,6 +30,7 @@ namespace basegfx class B2DTuple; class B2DRange; class B2DPolyPolygon; + class B2DHomMatrix; class ImplB2DPolyRange; /** Multiple ranges in one object. @@ -84,6 +85,8 @@ namespace basegfx */ B2DPolyPolygon solveCrossovers() const; + void transform(const B2DHomMatrix& rTranslate); + private: o3tl::cow_wrapper< ImplB2DPolyRange > mpImpl; }; diff --git a/include/basegfx/tools/b2dclipstate.hxx b/include/basegfx/tools/b2dclipstate.hxx index dab598edd2a4..865bdd74c765 100644 --- a/include/basegfx/tools/b2dclipstate.hxx +++ b/include/basegfx/tools/b2dclipstate.hxx @@ -31,6 +31,7 @@ namespace basegfx class B2DPolyRange; class B2DPolygon; class B2DPolyPolygon; + class B2DHomMatrix; namespace tools { @@ -85,6 +86,8 @@ namespace basegfx void xorRange(const B2DRange& ); void xorPolyPolygon(const B2DPolyPolygon& ); + void transform(const B2DHomMatrix& ); + B2DPolyPolygon getClipPoly() const; }; } |