Lines Matching refs:pO
113 SdrObject* pO=pM->GetMarkedSdrObj(); in SetMarkedObjRect() local
115 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in SetMarkedObjRect()
117 Rectangle aR1(pO->GetSnapRect()); in SetMarkedObjRect()
149 pO->SetSnapRect(aR1); in SetMarkedObjRect()
212 SdrObject* pO=pM->GetMarkedSdrObj(); in MoveMarkedObj() local
215 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pO ) ); in MoveMarkedObj()
217 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoMoveObject(*pO,rSiz)); in MoveMarkedObj()
219 pO->Move(rSiz); in MoveMarkedObj()
245 SdrObject* pO=pM->GetMarkedSdrObj(); in ResizeMarkedObj() local
248 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pO ) ); in ResizeMarkedObj()
250 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in ResizeMarkedObj()
252 pO->Resize(rRef,xFact,yFact); in ResizeMarkedObj()
282 SdrObject* pO=pM->GetMarkedSdrObj(); in ResizeMultMarkedObj() local
285 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pO ) ); in ResizeMultMarkedObj()
287 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in ResizeMultMarkedObj()
292 pO->Resize(rRef, xFact, yFact); in ResizeMultMarkedObj()
294 pO->Resize(rRef, xFact, aFrac); in ResizeMultMarkedObj()
296 pO->Resize(rRef, aFrac, yFact); in ResizeMultMarkedObj()
309 SdrObject* pO = pM->GetMarkedSdrObj(); in GetMarkedObjRotate() local
311 nRetval = pO->GetRotateAngle(); in GetMarkedObjRotate()
356 SdrObject* pO = pM->GetMarkedSdrObj(); in RotateMarkedObj() local
361 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pO ) ); in RotateMarkedObj()
364 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in RotateMarkedObj()
368 if(dynamic_cast< E3dObject* >(pO)) in RotateMarkedObj()
370 aUpdaters.push_back(new E3DModifySceneSnapRectUpdater(pO)); in RotateMarkedObj()
373 pO->Rotate(rRef,nWink,nSin,nCos); in RotateMarkedObj()
416 SdrObject* pO = pM->GetMarkedSdrObj(); in MirrorMarkedObj() local
421 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pO ) ); in MirrorMarkedObj()
424 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in MirrorMarkedObj()
428 if(dynamic_cast< E3dObject* >(pO)) in MirrorMarkedObj()
430 aUpdaters.push_back(new E3DModifySceneSnapRectUpdater(pO)); in MirrorMarkedObj()
433 pO->Mirror(rRef1,rRef2); in MirrorMarkedObj()
472 SdrObject* pO=pM->GetMarkedSdrObj(); in GetMarkedObjShear() local
473 long nWink2=pO->GetShearAngle(); in GetMarkedObjShear()
505 SdrObject* pO=pM->GetMarkedSdrObj(); in ShearMarkedObj() local
508 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pO ) ); in ShearMarkedObj()
510 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in ShearMarkedObj()
512 pO->Shear(rRef,nWink,nTan,bVShear); in ShearMarkedObj()
519 void SdrEditView::ImpCrookObj(SdrObject* pO, const Point& rRef, const Point& rRad, in ImpCrookObj() argument
522 SdrPathObj* pPath=PTR_CAST(SdrPathObj,pO); in ImpCrookObj()
537 if(!bDone && !pPath && pO->IsPolyObj() && 0L != pO->GetPointCount()) in ImpCrookObj()
540 sal_uInt32 nPtAnz(pO->GetPointCount()); in ImpCrookObj()
546 Point aPt(pO->GetPoint(nPtNum)); in ImpCrookObj()
561 pO->SetPoint(aXP[(sal_uInt16)nPtNum],nPtNum); in ImpCrookObj()
570 Point aCtr0(pO->GetSnapRect().Center()); in ImpCrookObj()
591 pO->Rotate(aCtr0, Round(nWink/nPi180), nSin, nCos); in ImpCrookObj()
593 pO->Move(Size(aCtr1.X(),aCtr1.Y())); in ImpCrookObj()
621 SdrObject* pO=pM->GetMarkedSdrObj(); in CrookMarkedObj() local
623 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in CrookMarkedObj()
625 const SdrObjList* pOL=pO->GetSubList(); in CrookMarkedObj()
627 ImpCrookObj(pO,rRef,rRad,eMode,bVertical,bNoContortion,bRotate,aMarkRect); in CrookMarkedObj()
641 void SdrEditView::ImpDistortObj(SdrObject* pO, const Rectangle& rRef, const XPolygon& rDistortedRec… in ImpDistortObj() argument
643 SdrPathObj* pPath = PTR_CAST(SdrPathObj, pO); in ImpDistortObj()
651 else if(pO->IsPolyObj()) in ImpDistortObj()
654 sal_uInt32 nPtAnz(pO->GetPointCount()); in ImpDistortObj()
660 Point aPt(pO->GetPoint(nPtNum)); in ImpDistortObj()
670 pO->SetPoint(aXP[(sal_uInt16)nPtNum],nPtNum); in ImpDistortObj()
695 SdrObject* pO=pM->GetMarkedSdrObj(); in DistortMarkedObj() local
697 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO)); in DistortMarkedObj()
701 const SdrObjList* pOL=pO->GetSubList(); in DistortMarkedObj()
703 ImpDistortObj(pO,aRefRect,aRefPoly,bNoContortion); in DistortMarkedObj()