diff options
author | Armin Le Grand <alg@apache.org> | 2014-07-03 15:49:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-04 16:14:21 +0100 |
commit | 7c4fb287bb1e69725560cd4688e1d1d99d4498e0 (patch) | |
tree | d967120912ecae13d33c889cc4d2ba30737439fd /svgio/inc | |
parent | 8ea270213ba95544011fc3a79cc33f0511f6c62e (diff) |
Resolves: #i124852# Corrected mask and clip polygons for userSpaceOnUse
(cherry picked from commit 247d5bc4d13c8ab299f8ca72768946f59815dca4)
Change-Id: I328a55e940db64d3dad04902bf81ede56a0dfe73
Diffstat (limited to 'svgio/inc')
-rw-r--r-- | svgio/inc/svgio/svgreader/svgclippathnode.hxx | 6 | ||||
-rw-r--r-- | svgio/inc/svgio/svgreader/svgmasknode.hxx | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/svgio/inc/svgio/svgreader/svgclippathnode.hxx b/svgio/inc/svgio/svgreader/svgclippathnode.hxx index d7fbf9b3e72d..36586d8df95f 100644 --- a/svgio/inc/svgio/svgreader/svgclippathnode.hxx +++ b/svgio/inc/svgio/svgreader/svgclippathnode.hxx @@ -47,8 +47,10 @@ namespace svgio virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) SAL_OVERRIDE; virtual void decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool bReferenced) const SAL_OVERRIDE; - /// apply contained clipPath to given geometry - void apply(drawinglayer::primitive2d::Primitive2DSequence& rTarget) const; + /// apply contained clipPath to given geometry #i124852# transform may be needed + void apply( + drawinglayer::primitive2d::Primitive2DSequence& rTarget, + const basegfx::B2DHomMatrix* pTransform) const; /// clipPathUnits content SvgUnits getClipPathUnits() const { return maClipPathUnits; } diff --git a/svgio/inc/svgio/svgreader/svgmasknode.hxx b/svgio/inc/svgio/svgreader/svgmasknode.hxx index e0f66b16a635..897401fd9290 100644 --- a/svgio/inc/svgio/svgreader/svgmasknode.hxx +++ b/svgio/inc/svgio/svgreader/svgmasknode.hxx @@ -52,8 +52,10 @@ namespace svgio virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) SAL_OVERRIDE; virtual void decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool bReferenced) const SAL_OVERRIDE; - /// apply contained clipPath to given geometry - void apply(drawinglayer::primitive2d::Primitive2DSequence& rTarget) const; + /// apply contained clipPath to given geometry #i124852# transform may be needed + void apply( + drawinglayer::primitive2d::Primitive2DSequence& rTarget, + const basegfx::B2DHomMatrix* pTransform) const; /// x content, set if found in current context const SvgNumber& getX() const { return maX; } |