/aoo42x/main/svx/source/dialog/ |
H A D | dlgctl3d.cxx | 423 aDirection.normalize(); in ConstructLightObjects() 424 aDirection *= RADIUS_LAMP_PREVIEW_SIZE; in ConstructLightObjects() 434 aTransform.translate(aDirection.getX(), aDirection.getY(), aDirection.getZ()); in ConstructLightObjects() 462 aDirection.normalize(); in AdaptToSelectedLight() 477 …if(!basegfx::fTools::equalZero(aDirection.getZ()) || !basegfx::fTools::equalZero(aDirection.getX()… in AdaptToSelectedLight() 479 fRotateY = atan2(-aDirection.getZ(), aDirection.getX()); in AdaptToSelectedLight() 492 aDirection.getX() * RADIUS_LAMP_PREVIEW_SIZE, in AdaptToSelectedLight() 778 aDirection.normalize(); in GetPosition() 779 rHor = atan2(-aDirection.getX(), -aDirection.getZ()) + F_PI; // 0..2PI in GetPosition() 780 rVer = atan2(aDirection.getY(), aDirection.getXZLength()); // -PI2..PI2 in GetPosition() [all …]
|
/aoo42x/main/chart2/source/controller/dialogs/ |
H A D | tp_3D_SceneIllumination.cxx | 121 ::com::sun::star::drawing::Direction3D aDirection; 126 aDirection( 1.0, 1.0, -1.0 ), in LightSource() 145 aLightSource.aDirection = drawing::Direction3D(1,1,1); in LightSourceInfo() 229 uno::makeAny( rLightSource.aDirection )); in lcl_setLightSource() 601 aItemSet.Put(Svx3DLightDirection1Item(Direction3DToB3DVector(pInfo->aLightSource.aDirection))); in updatePreview() 606 aItemSet.Put(Svx3DLightDirection2Item(Direction3DToB3DVector(pInfo->aLightSource.aDirection))); in updatePreview() 611 aItemSet.Put(Svx3DLightDirection3Item(Direction3DToB3DVector(pInfo->aLightSource.aDirection))); in updatePreview() 616 aItemSet.Put(Svx3DLightDirection4Item(Direction3DToB3DVector(pInfo->aLightSource.aDirection))); in updatePreview() 621 aItemSet.Put(Svx3DLightDirection5Item(Direction3DToB3DVector(pInfo->aLightSource.aDirection))); in updatePreview() 626 aItemSet.Put(Svx3DLightDirection6Item(Direction3DToB3DVector(pInfo->aLightSource.aDirection))); in updatePreview() [all …]
|
H A D | tp_TitleRotation.cxx | 96 SvxFrameDirection aDirection( aLbTextDirection.GetSelectEntryValue() ); in FillItemSet() local 97 rOutAttrs.Put( SfxInt32Item( EE_PARA_WRITINGDIR, aDirection ) ); in FillItemSet()
|
/aoo42x/main/svx/source/items/ |
H A D | e3ditem.cxx | 134 drawing::Direction3D aDirection; in QueryValue() local 137 aDirection.DirectionX = aVal.getX(); in QueryValue() 138 aDirection.DirectionY = aVal.getY(); in QueryValue() 139 aDirection.DirectionZ = aVal.getZ(); in QueryValue() 141 rVal <<= aDirection; in QueryValue() 149 drawing::Direction3D aDirection; in PutValue() local 150 if(!(rVal >>= aDirection)) in PutValue() 153 aVal.setX(aDirection.DirectionX); in PutValue() 154 aVal.setY(aDirection.DirectionY); in PutValue() 155 aVal.setZ(aDirection.DirectionZ); in PutValue()
|
/aoo42x/main/chart2/source/view/main/ |
H A D | Clipping.cxx | 100 B2DTuple aDirection = rPoint1 - rPoint0; in lcl_clip2d() local 102 if( aDirection.getX()==0 && aDirection.getY()==0 && rRectangle.isInside(rPoint0) ) in lcl_clip2d() 115 if( lcl_CLIPt(aDirection.getX(), rRectangle.getMinX() - rPoint0.getX(), fTE, fTL) ) in lcl_clip2d() 116 if( lcl_CLIPt(-aDirection.getX(), rPoint0.getX() - rRectangle.getMaxX(), fTE, fTL) ) in lcl_clip2d() 117 if( lcl_CLIPt(aDirection.getY(), rRectangle.getMinY() - rPoint0.getY(), fTE, fTL) ) in lcl_clip2d() 118 if( lcl_CLIPt(-aDirection.getY(), rPoint0.getY() - rRectangle.getMaxY(), fTE, fTL) ) in lcl_clip2d() 124 rPoint1.setX( rPoint0.getX() + fTL * aDirection.getX() ); in lcl_clip2d() 125 rPoint1.setY( rPoint0.getY() + fTL * aDirection.getY() ); in lcl_clip2d() 130 rPoint0.setX( rPoint0.getX() + fTE * aDirection.getX() ); in lcl_clip2d() 131 rPoint0.setY( rPoint0.getY() + fTE * aDirection.getY() ); in lcl_clip2d()
|
H A D | PolarLabelPositionHelper.cxx | 173 basegfx::B2IVector aDirection( aRet.X- aOrigin.X, aRet.Y- aOrigin.Y ); in getLabelScreenPositionAndAlignmentForUnitCircleValues() local 174 aDirection.setLength(nScreenValueOffsetInRadiusDirection); in getLabelScreenPositionAndAlignmentForUnitCircleValues() 175 aRet.X += aDirection.getX(); in getLabelScreenPositionAndAlignmentForUnitCircleValues() 176 aRet.Y += aDirection.getY(); in getLabelScreenPositionAndAlignmentForUnitCircleValues()
|
/aoo42x/main/slideshow/source/engine/transitions/ |
H A D | slidetransitionfactory.cxx | 640 ::basegfx::B2DVector aDirection; in createPushWipeTransition() 652 aDirection = ::basegfx::B2DVector( 0.0, 1.0 ); in createPushWipeTransition() 656 aDirection = ::basegfx::B2DVector( 0.0, -1.0 ); in createPushWipeTransition() 660 aDirection = ::basegfx::B2DVector( 1.0, 0.0 ); in createPushWipeTransition() 664 aDirection = ::basegfx::B2DVector( -1.0, 0.0 ); in createPushWipeTransition() 680 aDirection = ::basegfx::B2DVector( 1.0, 1.0 ); in createPushWipeTransition() 684 aDirection = ::basegfx::B2DVector( 1.0, 0.0 ); in createPushWipeTransition() 689 aDirection = ::basegfx::B2DVector( 0.0, 1.0 ); in createPushWipeTransition() 703 aDirection, in createPushWipeTransition() 715 aDirection, in createPushWipeTransition() [all …]
|
/aoo42x/main/svx/source/sdr/primitive2d/ |
H A D | sdrattributecreator.cxx | 918 …const basegfx::B3DVector aDirection(((const Svx3DLightDirection1Item&)rSet.Get(SDRATTR_3DSCENE_LIG… in createNewSdrLightingAttribute() local 919 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, true)); in createNewSdrLightingAttribute() 925 …const basegfx::B3DVector aDirection(((const Svx3DLightDirection2Item&)rSet.Get(SDRATTR_3DSCENE_LIG… in createNewSdrLightingAttribute() local 926 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 932 …const basegfx::B3DVector aDirection(((const Svx3DLightDirection3Item&)rSet.Get(SDRATTR_3DSCENE_LIG… in createNewSdrLightingAttribute() local 933 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 940 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 947 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 954 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() 961 aLightVector.push_back(attribute::Sdr3DLightAttribute(aColor, aDirection, false)); in createNewSdrLightingAttribute() [all …]
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdotextpathdecomposition.cxx | 429 const basegfx::B2DVector aDirection(aEndPos - aStartPos); in HandlePair() local 430 aNewTransformB.rotate(atan2(aDirection.getY(), aDirection.getX())); in HandlePair() 444 const basegfx::B2DVector aDirection(aEndPos - aStartPos); in HandlePair() local 445 const double fShearValue(atan2(aDirection.getY(), aDirection.getX())); in HandlePair() 462 const basegfx::B2DVector aDirection(aEndPos - aStartPos); in HandlePair() local 463 const double fShearValue(atan2(aDirection.getY(), aDirection.getX())); in HandlePair()
|
/aoo42x/main/odk/examples/DevelopersGuide/Charts/ |
H A D | ChartInDraw.java | 280 com.sun.star.drawing.Direction3D aDirection = new com.sun.star.drawing.Direction3D(); in testThreeD() local 282 aDirection.DirectionX = -0.75; in testThreeD() 283 aDirection.DirectionY = 0.5; in testThreeD() 284 aDirection.DirectionZ = 0.5; in testThreeD() 286 aDiaProp.setPropertyValue( "D3DSceneLightDirection1", aDirection ); in testThreeD()
|
/aoo42x/main/canvas/source/directx/ |
H A D | dx_canvashelper_texturefill.cxx | 133 ::basegfx::B2DVector aDirection( aLeftTop - aLeftBottom ); in fillLinearGradient() 134 aDirection = ::basegfx::getNormalizedPerpendicular( aDirection ); in fillLinearGradient() 135 aDirection *= nDiagonalLength; in fillLinearGradient() 139 const ::basegfx::B2DPoint aHalfPlaneRightTop( aRightTop + aDirection ); in fillLinearGradient() 140 const ::basegfx::B2DPoint aHalfPlaneRightBottom( aRightBottom + aDirection ); in fillLinearGradient()
|
/aoo42x/main/filter/source/graphicfilter/idxf/ |
H A D | dxftblrd.cxx | 151 aDirection=DXFVector(0,0,1); in DXFVPort() 189 case 16: aDirection.fx=rDGR.GetF(); break; in Read() 190 case 26: aDirection.fy=rDGR.GetF(); break; in Read() 191 case 36: aDirection.fz=rDGR.GetF(); break; in Read()
|
H A D | dxf2mtf.cxx | 900 if (pVPort->aDirection.fx==0 && pVPort->aDirection.fy==0) in Convert() 944 DXFTransform(pVPort->aDirection,pVPort->aTarget), in Convert()
|
H A D | dxftblrd.hxx | 124 DXFVector aDirection; // 16,26,36 member in DXFVPort
|
/aoo42x/main/canvas/source/vcl/ |
H A D | canvashelper_texturefill.cxx | 152 ::basegfx::B2DVector aDirection( aRightTop - aLeftTop ); in fillLinearGradient() 153 aDirection.normalize(); in fillLinearGradient() 192 const ::basegfx::B2DPoint& rPoint1( aLeftTop - 2.0*nDiagonalLength*aDirection ); in fillLinearGradient() 196 const ::basegfx::B2DPoint& rPoint2( aLeftBottom - 2.0*nDiagonalLength*aDirection ); in fillLinearGradient() 264 const ::basegfx::B2DPoint& rPoint3( aRightTop + 2.0*nDiagonalLength*aDirection ); in fillLinearGradient() 268 const ::basegfx::B2DPoint& rPoint4( aRightBottom + 2.0*nDiagonalLength*aDirection ); in fillLinearGradient()
|
/aoo42x/main/sw/inc/ |
H A D | PostItMgr.hxx | 183 bool ArrowEnabled(sal_uInt16 aDirection,unsigned long aPage) const; 246 Color GetArrowColor(sal_uInt16 aDirection,unsigned long aPage) const; 250 sw::sidebarwindows::SwSidebarWin* GetNextPostIt( sal_uInt16 aDirection,
|
H A D | SidebarWin.hxx | 100 void SwitchToPostIt(sal_uInt16 aDirection);
|
/aoo42x/main/chart2/source/view/charttypes/ |
H A D | PieChart.cxx | 513 … basegfx::B2IVector aDirection( aScreenPosition2D.X- aOrigin.X, aScreenPosition2D.Y- aOrigin.Y ); in createShapes() local 514 aDirection.setLength(nScreenValueOffsetInRadiusDirection); in createShapes() 515 aScreenPosition2D.X += aDirection.getX(); in createShapes() 516 aScreenPosition2D.Y += aDirection.getY(); in createShapes()
|
/aoo42x/main/sw/source/ui/uiview/ |
H A D | formatclipboard.cxx | 274 SvxFrameDirectionItem aDirection( FRMDIR_ENVIRONMENT, RES_FRAMEDIR ); in lcl_setTableAttributes() local 275 aDirection.SetValue(static_cast< const SvxFrameDirectionItem* >(pItem)->GetValue()); in lcl_setTableAttributes() 276 rSh.SetBoxDirection(aDirection); in lcl_setTableAttributes()
|
/aoo42x/main/svx/source/unodraw/ |
H A D | unoshap3.cxx | 539 drawing::Direction3D aDirection; in setPropertyValueImpl() local 540 if( rValue >>= aDirection ) in setPropertyValueImpl() 542 basegfx::B3DVector aSize(aDirection.DirectionX, aDirection.DirectionY, aDirection.DirectionZ); in setPropertyValueImpl()
|
/aoo42x/main/sw/source/ui/docvw/ |
H A D | PostItMgr.cxx | 954 bool SwPostItMgr::ArrowEnabled(sal_uInt16 aDirection,unsigned long aPage) const in ArrowEnabled() argument 956 switch (aDirection) in ArrowEnabled() 970 Color SwPostItMgr::GetArrowColor(sal_uInt16 aDirection,unsigned long aPage) const in GetArrowColor() argument 972 if (ArrowEnabled(aDirection,aPage)) in GetArrowColor() 1388 SwSidebarWin* SwPostItMgr::GetNextPostIt( sal_uInt16 aDirection, in GetNextPostIt() argument 1398 if (aDirection==KEY_PAGEUP) in GetNextPostIt()
|
/aoo42x/main/tools/source/generic/ |
H A D | poly.cxx | 2156 const basegfx::B2DVector aDirection(aNext + aPrev); in impCorrectContinuity() local 2161 const double fInvDirectionLen(1.0 / aDirection.getLength()); in impCorrectContinuity() 2162 …roPolygon.setNextControlPoint(nIndex, basegfx::B2DPoint(aPoint + (aDirection * (aNext.getLength() … in impCorrectContinuity() 2163 …roPolygon.setPrevControlPoint(nIndex, basegfx::B2DPoint(aPoint - (aDirection * (aPrev.getLength() … in impCorrectContinuity() 2169 … const double fMedLength((aNext.getLength() + aPrev.getLength()) * (0.5 / aDirection.getLength())); in impCorrectContinuity() 2170 const basegfx::B2DVector aScaledDirection(aDirection * fMedLength); in impCorrectContinuity()
|
/aoo42x/main/sw/source/ui/shells/ |
H A D | tabsh.cxx | 363 SvxFrameDirectionItem aDirection( FRMDIR_ENVIRONMENT, RES_FRAMEDIR ); in ItemSetToTableParam() local 364 … aDirection.SetValue(static_cast< const SvxFrameDirectionItem* >(pBoxDirection)->GetValue()); in ItemSetToTableParam() 365 rSh.SetBoxDirection(aDirection); in ItemSetToTableParam()
|
/aoo42x/main/chart2/source/tools/ |
H A D | ThreeDHelper.cxx | 178 drawing::Direction3D aDirection(0,0,0); in lcl_isLightScheme() local 179 xDiagramProps->getPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTDIRECTION_2 ) ) >>= aDirection; in lcl_isLightScheme() 203 return lcl_isEqual( aDirection, aDefaultDirection ); in lcl_isLightScheme()
|
/aoo42x/main/offapi/com/sun/star/chart2/ |
H A D | LightSource.idl | 47 ::com::sun::star::drawing::Direction3D aDirection;
|