53 const bool bNormals(aPolyNormals3D.
count() && aPolyNormals3D.
count() == aPolyPolygon3D.
count());
54 const bool bTexture(aPolyTexture2D.
count() && aPolyTexture2D.
count() == aPolyPolygon3D.
count());
56 if(bNormals || bTexture)
58 for(sal_uInt32
a(0);
a < aPolyPolygon3D.
count();
a++)
74 for(sal_uInt32 b(0); b < aCandidate3D.count(); b++)
78 sal_uInt32 nNormalCount = aNormals3D.
count();
79 if( b < nNormalCount )
80 aCandidate3D.setNormal(b, aNormals3D.getB3DPoint(b));
81 else if( nNormalCount > 0 )
82 aCandidate3D.setNormal(b, aNormals3D.getB3DPoint(0));
86 sal_uInt32 nTextureCount = aTexture2D.
count();
87 if( b < nTextureCount )
88 aCandidate3D.setTextureCoordinate(b, aTexture2D.
getB2DPoint(b));
89 else if( nTextureCount > 0 )
90 aCandidate3D.setTextureCoordinate(b, aTexture2D.
getB2DPoint(0));
137 aTextureSize.
setX(0.01);
138 aTextureSize.
setY(0.01);
142 aTextureSize.
setX(fWidth);
143 aTextureSize.
setY(fHeight);
155 aPolyPolygon3D.
flip();
161 aPolyPolygon3D, aWorldTransform, aTextureSize, aAttribute, aSdr3DObjectAttribute));
162 xRetval = { xReference };
attribute::SdrLineFillShadowAttribute3D createNewSdrLineFillShadowAttribute(const SfxItemSet &rSet, bool bSuppressFill)
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
css::uno::Reference< css::graphic::XPrimitive3D > Primitive3DReference
B2DRange getRange(const B2DPolygon &rCandidate)
void setB3DPolygon(sal_uInt32 nIndex, const B3DPolygon &rPolygon)
B3DPolygon const & getB3DPolygon(sal_uInt32 nIndex) const
attribute::Sdr3DObjectAttribute createNewSdr3DObjectAttribute(const SfxItemSet &rSet)
basegfx::B2DPoint const & getB2DPoint(sal_uInt32 nIndex) const