summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2006-06-02 12:58:03 +0000
committerArmin Weiss <aw@openoffice.org>2006-06-02 12:58:03 +0000
commitd20e799551390411b32c4d398ea0c473af986a63 (patch)
treedcc2f69911e26b627dd6348e202e816046f3fb40 /drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
parentaba469dc674ec4b465155f23324792e6753b4ac5 (diff)
#i39532# renderers to pixel, own directory
Diffstat (limited to 'drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx')
-rw-r--r--drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx15
1 files changed, 4 insertions, 11 deletions
diff --git a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
index 81f1b7539d40..0a1bc369001d 100644
--- a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sdrlatheprimitive3d.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: aw $ $Date: 2006-05-19 09:34:55 $
+ * last change: $Author: aw $ $Date: 2006-06-02 13:58:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -67,7 +67,7 @@ namespace drawinglayer
{
namespace primitive
{
- void sdrLathePrimitive3D::decompose(primitiveList& rTarget, const ::drawinglayer::geometry::viewInformation& rViewInformation)
+ void sdrLathePrimitive3D::decompose(primitiveVector& rTarget, const ::drawinglayer::geometry::viewInformation& rViewInformation)
{
// get slices
const sliceVector& rSliceVector = getSlices();
@@ -327,13 +327,6 @@ namespace drawinglayer
return false;
}
- basePrimitive* sdrLathePrimitive3D::createNewClone() const
- {
- return new sdrLathePrimitive3D(maTransform, maTextureSize, maSdrLFSAttribute, maSdr3DObjectAttribute,
- maPolyPolygon, mnHorizontalSegments, mnVerticalSegments, mfDiagonal, mfBackScale, mfRotation,
- mbSmoothNormals, mbSmoothHorizontalNormals, mbSmoothLids, mbCharacterMode, mbCloseFront, mbCloseBack);
- }
-
PrimitiveID sdrLathePrimitive3D::getID() const
{
return CreatePrimitiveID('S', 'L', 'A', '3');
@@ -342,7 +335,7 @@ namespace drawinglayer
::basegfx::B3DRange sdrLathePrimitive3D::get3DRange(const ::drawinglayer::geometry::viewInformation& rViewInformation) const
{
// use defaut from sdrPrimitive3D which uses transformation expanded by line width/2
- // The parent implementation which uses the ranges of the breakdown would be more
+ // The parent implementation which uses the ranges of the decomposition would be more
// corrcet, but for historical reasons it is necessary to do the old method: To get
// the range of the non-transformed geometry and transform it then. This leads to different
// ranges where the new method is more correct, but the need to keep the old behaviour