summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2008-03-19 03:35:22 +0000
committerArmin Weiss <aw@openoffice.org>2008-03-19 03:35:22 +0000
commit746ce24e03faa4d4d4bc117985717d4acd329231 (patch)
tree4059c5d750cc4718aa7fd39297aadb4cd9dd2340 /drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
parentce2d2b93fcbea1936439f8ba5a99b5e7a0d822d6 (diff)
#i39532# chart adaptions for 3D
Diffstat (limited to 'drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx')
-rw-r--r--drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx20
1 files changed, 12 insertions, 8 deletions
diff --git a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
index 486ce9ec30d8..39bba2a0800c 100644
--- a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sdrextrudelathetools3d.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: aw $ $Date: 2008-03-13 08:22:01 $
+ * last change: $Author: aw $ $Date: 2008-03-19 04:35:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -541,21 +541,25 @@ namespace drawinglayer
basegfx::B3DPolyPolygon& rLine,
const Slice3DVector& rSliceVector,
bool bClosed,
- bool bReducedLineGeometry)
+ bool bAddHorizontal,
+ bool bAddVertical)
{
const sal_uInt32 nNumSlices(rSliceVector.size());
if(nNumSlices)
{
// Slice3Ds self
- for(sal_uInt32 a(0L); a < nNumSlices; a++)
- {
- rLine.append(rSliceVector[a].getB3DPolyPolygon());
+ if(bAddVertical)
+ {
+ for(sal_uInt32 a(0L); a < nNumSlices; a++)
+ {
+ rLine.append(rSliceVector[a].getB3DPolyPolygon());
+ }
}
// horizontal
- if(!bReducedLineGeometry)
- {
+ if(bAddHorizontal)
+ {
const basegfx::B3DPolyPolygon& aFirstPolyPolygon(rSliceVector[0L].getB3DPolyPolygon());
const sal_uInt32 nPolygonCount(aFirstPolyPolygon.count());