diff options
Diffstat (limited to 'drawinglayer/source/processor3d/defaultprocessor3d.cxx')
-rw-r--r-- | drawinglayer/source/processor3d/defaultprocessor3d.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drawinglayer/source/processor3d/defaultprocessor3d.cxx b/drawinglayer/source/processor3d/defaultprocessor3d.cxx index 624a25ff8c36..8768d25dc3cf 100644 --- a/drawinglayer/source/processor3d/defaultprocessor3d.cxx +++ b/drawinglayer/source/processor3d/defaultprocessor3d.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -227,15 +227,15 @@ namespace drawinglayer if(rFillBitmapAttribute.getTiling()) { mpGeoTexSvx.reset(new texture::GeoTexSvxBitmapTiled( - rFillBitmapAttribute.getBitmapEx().GetBitmap(), - rFillBitmapAttribute.getTopLeft() * rPrimitive.getTextureSize(), + rFillBitmapAttribute.getBitmapEx().GetBitmap(), + rFillBitmapAttribute.getTopLeft() * rPrimitive.getTextureSize(), rFillBitmapAttribute.getSize() * rPrimitive.getTextureSize())); } else { mpGeoTexSvx.reset(new texture::GeoTexSvxBitmap( - rFillBitmapAttribute.getBitmapEx().GetBitmap(), - rFillBitmapAttribute.getTopLeft() * rPrimitive.getTextureSize(), + rFillBitmapAttribute.getBitmapEx().GetBitmap(), + rFillBitmapAttribute.getTopLeft() * rPrimitive.getTextureSize(), rFillBitmapAttribute.getSize() * rPrimitive.getTextureSize())); } @@ -285,7 +285,7 @@ namespace drawinglayer if(a2DRange.overlaps(maRasterRange)) { const attribute::MaterialAttribute3D aMaterial(maBColorModifierStack.getModifiedColor(rPrimitive.getBColor())); - + rasterconvertB3DPolygon(aMaterial, aHairline); } } @@ -299,7 +299,7 @@ namespace drawinglayer // #i98295# get ShadeMode. Correct early when only flat is possible due to missing normals const ::com::sun::star::drawing::ShadeMode aShadeMode( - aFill.areNormalsUsed() ? + aFill.areNormalsUsed() ? getSdrSceneAttribute().getShadeMode() : ::com::sun::star::drawing::ShadeMode_FLAT); if(bPaintIt) @@ -379,7 +379,7 @@ namespace drawinglayer for(sal_uInt32 a(0L); a < aFill.count(); a++) { basegfx::B3DPolygon aPartFill(aFill.getB3DPolygon(a)); - + for(sal_uInt32 b(0L); b < aPartFill.count(); b++) { // solve color model. Transform normal to eye coor @@ -420,11 +420,11 @@ namespace drawinglayer // draw it to ZBuffer const attribute::MaterialAttribute3D aMaterial( - maBColorModifierStack.getModifiedColor(aObjectColor), - rPrimitive.getMaterial().getSpecular(), - rPrimitive.getMaterial().getEmission(), + maBColorModifierStack.getModifiedColor(aObjectColor), + rPrimitive.getMaterial().getSpecular(), + rPrimitive.getMaterial().getEmission(), rPrimitive.getMaterial().getSpecularIntensity()); - + rasterconvertB3DPolyPolygon(aMaterial, aFill); } } @@ -538,7 +538,7 @@ namespace drawinglayer const geometry::ViewInformation3D& rViewInformation, const attribute::SdrSceneAttribute& rSdrSceneAttribute, const attribute::SdrLightingAttribute& rSdrLightingAttribute) - : BaseProcessor3D(rViewInformation), + : BaseProcessor3D(rViewInformation), mrSdrSceneAttribute(rSdrSceneAttribute), mrSdrLightingAttribute(rSdrLightingAttribute), maRasterRange(), |