Lines Matching refs:aRet
197 drawing::Position3D aRet(0.0,0.0,0.0); in getPointFromPoly() local
203 aRet.PositionX = rPolygon.SequenceX[nPolyIndex][nPointIndex]; in getPointFromPoly()
204 aRet.PositionY = rPolygon.SequenceY[nPolyIndex][nPointIndex]; in getPointFromPoly()
205 aRet.PositionZ = rPolygon.SequenceZ[nPolyIndex][nPointIndex]; in getPointFromPoly()
216 return aRet; in getPointFromPoly()
281 drawing::PolyPolygonShape3D aRet; in BezierToPoly() local
282 aRet.SequenceX.realloc( rPointSequence.getLength() ); in BezierToPoly()
283 aRet.SequenceY.realloc( rPointSequence.getLength() ); in BezierToPoly()
284 aRet.SequenceZ.realloc( rPointSequence.getLength() ); in BezierToPoly()
290 aRet.SequenceX[nN].realloc( nInnerLength ); in BezierToPoly()
291 aRet.SequenceY[nN].realloc( nInnerLength ); in BezierToPoly()
292 aRet.SequenceZ[nN].realloc( nInnerLength ); in BezierToPoly()
303 aRet.SequenceX[nRealOuter][nRealInner] = rPointSequence[nN][nM].X; in BezierToPoly()
304 aRet.SequenceY[nRealOuter][nRealInner] = rPointSequence[nN][nM].Y; in BezierToPoly()
305 aRet.SequenceZ[nRealOuter][nRealInner] = 0.0; in BezierToPoly()
310 aRet.SequenceX[nRealOuter].realloc( nRealInner ); in BezierToPoly()
311 aRet.SequenceY[nRealOuter].realloc( nRealInner ); in BezierToPoly()
312 aRet.SequenceZ[nRealOuter].realloc( nRealInner ); in BezierToPoly()
318 aRet.SequenceX.realloc( nRealOuter ); in BezierToPoly()
319 aRet.SequenceY.realloc( nRealOuter ); in BezierToPoly()
320 aRet.SequenceZ.realloc( nRealOuter ); in BezierToPoly()
322 return aRet; in BezierToPoly()
328 drawing::PointSequenceSequence aRet; in PolyToPointSequence() local
329 aRet.realloc( rPolyPolygon.SequenceX.getLength() ); in PolyToPointSequence()
334 aRet[nN].realloc( nInnerLength ); in PolyToPointSequence()
337 aRet[nN][nM].X = static_cast<sal_Int32>(rPolyPolygon.SequenceX[nN][nM]); in PolyToPointSequence()
338 aRet[nN][nM].Y = static_cast<sal_Int32>(rPolyPolygon.SequenceY[nN][nM]); in PolyToPointSequence()
341 return aRet; in PolyToPointSequence()
387 awt::Point aRet; in Position3DToAWTPoint() local
388 aRet.X = static_cast<sal_Int32>(rPos.PositionX); in Position3DToAWTPoint()
389 aRet.Y = static_cast<sal_Int32>(rPos.PositionY); in Position3DToAWTPoint()
390 return aRet; in Position3DToAWTPoint()
405 awt::Size aRet; in Direction3DToAWTSize() local
406 aRet.Width = static_cast<sal_Int32>(rDirection.DirectionX); in Direction3DToAWTSize()
407 aRet.Height = static_cast<sal_Int32>(rDirection.DirectionY); in Direction3DToAWTSize()
408 return aRet; in Direction3DToAWTSize()
413 uno::Sequence< double > aRet(3); in B3DPointToSequence() local
414 aRet[0] = rPoint.getX(); in B3DPointToSequence()
415 aRet[1] = rPoint.getY(); in B3DPointToSequence()
416 aRet[2] = rPoint.getZ(); in B3DPointToSequence()
417 return aRet; in B3DPointToSequence()
424 drawing::Position3D aRet; in SequenceToPosition3D() local
425 aRet.PositionX = rSeq.getLength()>0?rSeq[0]:0.0; in SequenceToPosition3D()
426 aRet.PositionY = rSeq.getLength()>1?rSeq[1]:0.0; in SequenceToPosition3D()
427 aRet.PositionZ = rSeq.getLength()>2?rSeq[2]:0.0; in SequenceToPosition3D()
428 return aRet; in SequenceToPosition3D()
433 uno::Sequence< double > aRet(3); in Position3DToSequence() local
434 aRet[0] = rPosition.PositionX; in Position3DToSequence()
435 aRet[1] = rPosition.PositionY; in Position3DToSequence()
436 aRet[2] = rPosition.PositionZ; in Position3DToSequence()
437 return aRet; in Position3DToSequence()