metaact.cxx (45fd3b9a) metaact.cxx (9d531167)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 4090 unchanged lines hidden (view full) ---

4099 if ( bPathStroke || maComment.Equals( "XPATHFILL_SEQ_BEGIN" ) )
4100 {
4101 SvMemoryStream aMemStm( (void*)mpData, mnDataSize, STREAM_READ );
4102 SvMemoryStream aDest;
4103 if ( bPathStroke )
4104 {
4105 SvtGraphicStroke aStroke;
4106 aMemStm >> aStroke;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 4090 unchanged lines hidden (view full) ---

4099 if ( bPathStroke || maComment.Equals( "XPATHFILL_SEQ_BEGIN" ) )
4100 {
4101 SvMemoryStream aMemStm( (void*)mpData, mnDataSize, STREAM_READ );
4102 SvMemoryStream aDest;
4103 if ( bPathStroke )
4104 {
4105 SvtGraphicStroke aStroke;
4106 aMemStm >> aStroke;
4107 Polygon aPath;
4107
4108 Polygon aPath;
4108 aStroke.getPath( aPath );
4109 aPath.Move( nXMove, nYMove );
4110 aStroke.setPath( aPath );
4109 aStroke.getPath( aPath );
4110 aPath.Move( nXMove, nYMove );
4111 aStroke.setPath( aPath );
4112
4113 PolyPolygon aStartArrow;
4114 aStroke.getStartArrow(aStartArrow);
4115 aStartArrow.Move(nXMove, nYMove);
4116 aStroke.setStartArrow(aStartArrow);
4117
4118 PolyPolygon aEndArrow;
4119 aStroke.getEndArrow(aEndArrow);
4120 aEndArrow.Move(nXMove, nYMove);
4121 aStroke.setEndArrow(aEndArrow);
4122
4111 aDest << aStroke;
4112 }
4113 else
4114 {
4115 SvtGraphicFill aFill;
4116 aMemStm >> aFill;
4123 aDest << aStroke;
4124 }
4125 else
4126 {
4127 SvtGraphicFill aFill;
4128 aMemStm >> aFill;
4117 PolyPolygon aPath;
4129
4130 PolyPolygon aPath;
4118 aFill.getPath( aPath );
4119 aPath.Move( nXMove, nYMove );
4120 aFill.setPath( aPath );
4131 aFill.getPath( aPath );
4132 aPath.Move( nXMove, nYMove );
4133 aFill.setPath( aPath );
4134
4121 aDest << aFill;
4122 }
4123 delete[] mpData;
4124 ImplInitDynamicData( static_cast<const sal_uInt8*>( aDest.GetData() ), aDest.Tell() );
4125 }
4126 }
4127 }
4128}

--- 186 unchanged lines hidden ---
4135 aDest << aFill;
4136 }
4137 delete[] mpData;
4138 ImplInitDynamicData( static_cast<const sal_uInt8*>( aDest.GetData() ), aDest.Tell() );
4139 }
4140 }
4141 }
4142}

--- 186 unchanged lines hidden ---