diff options
author | Armin Le Grand <alg@apache.org> | 2013-04-24 16:26:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-17 13:50:32 +0100 |
commit | 64aed8554510ec3c288ccc247701cf048df59860 (patch) | |
tree | 105ad52d0ed0253562afeba3a0355dfbe1e31df2 /vcl | |
parent | d7cebf0f211053960fba5c0bf1179df54fd35456 (diff) |
Resolves: #i122132# Some simple extensions to exporter
(cherry picked from commit 3454d18694e0ddcf9bc71661bf48c37450fa1fab)
Conflicts:
filter/source/svg/svgwriter.cxx
Change-Id: I2f9d96ffce0d51695a665b58a776807bab5d277e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index ed066a2b9cf9..64664d54f380 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -4040,20 +4040,34 @@ void MetaCommentAction::Move( long nXMove, long nYMove ) { SvtGraphicStroke aStroke; aMemStm >> aStroke; + Polygon aPath; aStroke.getPath( aPath ); aPath.Move( nXMove, nYMove ); aStroke.setPath( aPath ); + + PolyPolygon aStartArrow; + aStroke.getStartArrow(aStartArrow); + aStartArrow.Move(nXMove, nYMove); + aStroke.setStartArrow(aStartArrow); + + PolyPolygon aEndArrow; + aStroke.getEndArrow(aEndArrow); + aEndArrow.Move(nXMove, nYMove); + aStroke.setEndArrow(aEndArrow); + aDest << aStroke; } else { SvtGraphicFill aFill; aMemStm >> aFill; + PolyPolygon aPath; aFill.getPath( aPath ); aPath.Move( nXMove, nYMove ); aFill.setPath( aPath ); + aDest << aFill; } delete[] mpData; |