viewcontactofsdrpathobj.cxx (f6e50924) viewcontactofsdrpathobj.cxx (4bf7a51a)
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

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

47 }
48
49 drawinglayer::primitive2d::Primitive2DSequence ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence() const
50 {
51 const SfxItemSet& rItemSet = GetPathObj().GetMergedItemSet();
52 const drawinglayer::attribute::SdrLineFillShadowTextAttribute aAttribute(
53 drawinglayer::primitive2d::createNewSdrLineFillShadowTextAttribute(
54 rItemSet,
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

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

47 }
48
49 drawinglayer::primitive2d::Primitive2DSequence ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence() const
50 {
51 const SfxItemSet& rItemSet = GetPathObj().GetMergedItemSet();
52 const drawinglayer::attribute::SdrLineFillShadowTextAttribute aAttribute(
53 drawinglayer::primitive2d::createNewSdrLineFillShadowTextAttribute(
54 rItemSet,
55 GetPathObj().getText(0)));
55 GetPathObj().getText(0),
56 false));
56 basegfx::B2DPolyPolygon aUnitPolyPolygon(GetPathObj().GetPathPoly());
57 sal_uInt32 nPolyCount(aUnitPolyPolygon.count());
58 sal_uInt32 nPointCount(0);
59
60 for(sal_uInt32 a(0); a < nPolyCount; a++)
61 {
62 nPointCount += aUnitPolyPolygon.getB2DPolygon(a).count();
63 }

--- 78 unchanged lines hidden ---
57 basegfx::B2DPolyPolygon aUnitPolyPolygon(GetPathObj().GetPathPoly());
58 sal_uInt32 nPolyCount(aUnitPolyPolygon.count());
59 sal_uInt32 nPointCount(0);
60
61 for(sal_uInt32 a(0); a < nPolyCount; a++)
62 {
63 nPointCount += aUnitPolyPolygon.getB2DPolygon(a).count();
64 }

--- 78 unchanged lines hidden ---