diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2021-05-04 16:08:35 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2021-05-07 21:02:22 +0200 |
commit | 1ef26ffe39618a745d3367310565e7eeb184a4c2 (patch) | |
tree | 0c37afc8591f7f5de32403065147d84c55d2c427 /emfio/inc | |
parent | 13ce37a85ac73a88567c2066fac694e4fc02a6f8 (diff) |
tdf#55058 tdf#141982 EMF: Add rotation support for INTERSECTCLIPRECT record
With this commit the rotation support was added
for INTERSECTCLIPRECT.
Before that change rotation was not applied to these CLIP rectangles.
Change-Id: I3da66790e0aeeaaeeb28d2fc30780cba8dbda390
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115102
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio/inc')
-rw-r--r-- | emfio/inc/mtftools.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx index cd2484606f07..c79bdae4c4d7 100644 --- a/emfio/inc/mtftools.hxx +++ b/emfio/inc/mtftools.hxx @@ -273,9 +273,9 @@ namespace emfio public: WinMtfClipPath() : maClip() {}; - void setClipPath(const tools::PolyPolygon& rPolyPolygon, sal_Int32 nClippingMode); - void intersectClipRect(const tools::Rectangle& rRect); - void excludeClipRect(const tools::Rectangle& rRect); + void setClipPath(const basegfx::B2DPolyPolygon&, sal_Int32 nClippingMode); + void intersectClip(const basegfx::B2DPolyPolygon& rPolyPolygon); + void excludeClip(const basegfx::B2DPolyPolygon& rPolyPolygon); void moveClipRegion(const Size& rSize); void setDefaultClipPath(); |