Home
last modified time | relevance | path

Searched refs:aPnt (Results 1 – 25 of 81) sorted by relevance

1234

/AOO41X/main/svx/source/dialog/
H A Dparaprev.cxx92 Point aPnt; in DrawParagraph() local
93 aPnt.X() = DEF_MARGIN / 2; in DrawParagraph()
102 aPnt.Y() += nTop * 2; in DrawParagraph()
116 aPnt.X() += nTmp; in DrawParagraph()
121 aPnt.X() += nLeft; in DrawParagraph()
133 case SVX_PREV_LINESPACE_15: aPnt.Y() += nH / 2; break; in DrawParagraph()
134 case SVX_PREV_LINESPACE_2: aPnt.Y() += nH; break; in DrawParagraph()
142 aPnt.Y() += nH; in DrawParagraph()
163 aPnt.X() += ( aSiz.Width() - nLW ); in DrawParagraph()
166 aPnt.X() += ( aSiz.Width() - nLW ) / 2; in DrawParagraph()
[all …]
H A Dchecklbx.cxx211 const Point aPnt = rMEvt.GetPosPixel(); in MouseButtonDown() local
212 SvLBoxEntry* pEntry = GetEntry( aPnt ); in MouseButtonDown()
217 SvLBoxItem* pItem = GetItem( pEntry, aPnt.X() ); in MouseButtonDown()
232 const SvLBoxEntry* pNewEntry = GetEntry( aPnt ); in MouseButtonDown()
/AOO41X/main/sw/source/ui/ribbar/
H A Ddrawbase.cxx274 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in MouseMove() local
284 m_pSh->MoveCreate(aPnt); in MouseMove()
289 m_pSh->MoveMark(aPnt); in MouseMove()
309 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in MouseButtonUp() local
318 if(rMEvt.IsRight() || (aPnt == m_aStartPos && !bMultiPoint)) in MouseButtonUp()
388 if (aPnt == m_aStartPos && m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp()
390 m_pSh->SelectObj(aPnt, ( rMEvt.IsShift() && in MouseButtonUp()
408 if (m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp()
409 m_pSh->SelectObj(aPnt, ( rMEvt.IsShift() && in MouseButtonUp()
441 if (aPnt == m_aStartPos) in MouseButtonUp()
[all …]
/AOO41X/main/svx/source/svdraw/
H A Dsvdcrtv.cxx466 Point aPnt(rPnt); in ImpBegCreateObj() local
470 aPnt=GetSnapPos(aPnt,pCreatePV); in ImpBegCreateObj()
517 if(aPnt.X() < rWorkArea.Left()) in ImpBegCreateObj()
519 aPnt.X() = rWorkArea.Left(); in ImpBegCreateObj()
522 if(aPnt.X() > rWorkArea.Right()) in ImpBegCreateObj()
524 aPnt.X() = rWorkArea.Right(); in ImpBegCreateObj()
527 if(aPnt.Y() < rWorkArea.Top()) in ImpBegCreateObj()
529 aPnt.Y() = rWorkArea.Top(); in ImpBegCreateObj()
532 if(aPnt.Y() > rWorkArea.Bottom()) in ImpBegCreateObj()
534 aPnt.Y() = rWorkArea.Bottom(); in ImpBegCreateObj()
[all …]
H A Dsvddrgmt.cxx1046 Point aPnt(rNoSnapPnt); in MoveSdrDrag() local
1064 Point aDif(aPnt-DragStat().GetStart()); in MoveSdrDrag()
1067 aPnt.X()+=nBestXSnap; in MoveSdrDrag()
1068 aPnt.Y()+=nBestYSnap; in MoveSdrDrag()
1071 if (aPnt!=DragStat().GetNow()) in MoveSdrDrag()
1074 DragStat().NextMove(aPnt); in MoveSdrDrag()
1090 if (!DragStat().IsNoSnap()) SnapPos(aPnt); in MoveSdrDrag()
1117 long nWink=NormAngle360(GetAngle(aPnt-aRef)); in MoveSdrDrag()
1126 RotatePoint(aPnt,aRef,nSin,nCos); in MoveSdrDrag()
1131 if (nNeuWink==0 || nNeuWink==18000) aPnt.Y()=aRef.Y(); in MoveSdrDrag()
[all …]
H A Dsvdotxdr.cxx62 Point aPnt; in GetHdl() local
65 case 0: aPnt=aRect.TopLeft(); eKind=HDL_UPLFT; break; // Oben links in GetHdl()
66 case 1: aPnt=aRect.TopCenter(); eKind=HDL_UPPER; break; // Oben in GetHdl()
67 case 2: aPnt=aRect.TopRight(); eKind=HDL_UPRGT; break; // Oben rechts in GetHdl()
68 case 3: aPnt=aRect.LeftCenter(); eKind=HDL_LEFT ; break; // Links in GetHdl()
69 case 4: aPnt=aRect.RightCenter(); eKind=HDL_RIGHT; break; // Rechts in GetHdl()
70 case 5: aPnt=aRect.BottomLeft(); eKind=HDL_LWLFT; break; // Unten links in GetHdl()
71 case 6: aPnt=aRect.BottomCenter(); eKind=HDL_LOWER; break; // Unten in GetHdl()
72 case 7: aPnt=aRect.BottomRight(); eKind=HDL_LWRGT; break; // Unten rechts in GetHdl()
74 if (aGeo.nShearWink!=0) ShearPoint(aPnt,aRect.TopLeft(),aGeo.nTan); in GetHdl()
[all …]
H A Dsvdorect.cxx321 Point aPnt; in GetHdl() local
345 aPnt=aRect.TopLeft(); in GetHdl()
346 aPnt.X()+=a; in GetHdl()
350 case 2: aPnt=aRect.TopLeft(); eKind = HDL_UPLFT; break; // Oben links in GetHdl()
351 case 3: aPnt=aRect.TopCenter(); eKind = HDL_UPPER; break; // Oben in GetHdl()
352 case 4: aPnt=aRect.TopRight(); eKind = HDL_UPRGT; break; // Oben rechts in GetHdl()
353 case 5: aPnt=aRect.LeftCenter(); eKind = HDL_LEFT ; break; // Links in GetHdl()
354 case 6: aPnt=aRect.RightCenter(); eKind = HDL_RIGHT; break; // Rechts in GetHdl()
355 case 7: aPnt=aRect.BottomLeft(); eKind = HDL_LWLFT; break; // Unten links in GetHdl()
356 case 8: aPnt=aRect.BottomCenter(); eKind = HDL_LOWER; break; // Unten in GetHdl()
[all …]
H A Dsvdsnpv.cxx550 Point aPnt(aDragStat.GetNow()); in EndSetPageOrg() local
551 pPV->SetPageOrigin(aPnt); in EndSetPageOrg()
582 Point aPnt(rPnt); in PickHelpLine() local
583 sal_uInt16 nIndex=pPV->GetHelpLines().HitTest(aPnt,sal_uInt16(nTol),rOut); in PickHelpLine()
660 Point aPnt(GetSnapPos(rPnt, 0L)); in MovDragHelpLine() local
662 if(aPnt != aDragStat.GetNow()) in MovDragHelpLine()
664 aDragStat.NextMove(aPnt); in MovDragHelpLine()
685 Point aPnt(aDragStat.GetNow()); in EndDragHelpLine() local
688 aChangedHelpLine.SetPos(aPnt); in EndDragHelpLine()
700 Point aPnt(aDragStat.GetNow()); in EndDragHelpLine() local
[all …]
H A Dsvdocirc.cxx408 Point aPnt; in GetHdl() local
415 aPnt = GetWinkPnt(aRect,nStartWink); in GetHdl()
420 aPnt = GetWinkPnt(aRect,nEndWink); in GetHdl()
425 aPnt = aRect.TopLeft(); in GetHdl()
429 aPnt = aRect.TopCenter(); in GetHdl()
433 aPnt = aRect.TopRight(); in GetHdl()
437 aPnt = aRect.LeftCenter(); in GetHdl()
441 aPnt = aRect.RightCenter(); in GetHdl()
445 aPnt = aRect.BottomLeft(); in GetHdl()
449 aPnt = aRect.BottomCenter(); in GetHdl()
[all …]
H A Dsvddrag.cxx85 Point aPnt(GetNow()); in NextPoint() local
86 if (bSaveReal) aPnt=aRealNow; in NextPoint()
87 aPnts.Insert(new Point(KorregPos(GetRealNow(),aPnt)),CONTAINER_APPEND); in NextPoint()
88 Prev()=aPnt; in NextPoint()
H A Dsvddrgv.cxx251 Point aPnt(rPnt); in BegDragObj() local
258 aDragStat.Reset(aPnt); in BegDragObj()
545 Point aPnt(rPnt); in MovDragObj() local
546 ImpLimitToWorkArea(aPnt); in MovDragObj()
547 … mpCurrentSdrDragMethod->MoveSdrDrag(aPnt); // this call already makes a Hide()/Show combination in MovDragObj()
735 Point aPnt(aDragStat.GetNow()); in EndInsObjPoint() local
740 … bOk=!(ImpBegInsObjPoint(sal_True, nNextPnt, aPnt, eCmd == SDRCREATE_NEXTOBJECT, pDragWin)); in EndInsObjPoint()
/AOO41X/main/svx/source/stbctrls/
H A Dpszctrl.cxx380 Point aPnt = rRect.TopLeft(); in Paint() local
381 aPnt.Y() = aItemPos.Y(); in Paint()
382 aPnt.X() += PAINT_OFFSET; in Paint()
383 pDev->DrawImage( aPnt, pImp->aPosImage ); in Paint()
384 aPnt.X() += pImp->aPosImage.GetSizePixel().Width(); in Paint()
385 aPnt.X() += PAINT_OFFSET; in Paint()
390 Rectangle( aPnt, Point( nSizePosX, rRect.Bottom() ) ) ); in Paint()
391 pDev->DrawText( aPnt, aStr ); in Paint()
394 aPnt.X() = nSizePosX; in Paint()
398 pDev->DrawImage( aPnt, pImp->aSizeImage ); in Paint()
[all …]
/AOO41X/main/svtools/source/dialogs/
H A Dfiledlg2.cxx164 Point aPnt( a6Siz.Width(), a6Siz.Height() ); in InitControls() local
170 aPnt, aFTSiz, UniString( SvtResId( STR_FILEDLG_DIR ) ), HID_FILEDLG_DIR ); in InitControls()
171 aPnt.Y() += aFTSiz.Height() + a3Siz.Height(); in InitControls()
173 INITCONTROL( pEdit, Edit, WB_BORDER, aPnt, aEDSiz, aPath.GetFull(), HID_FILEDLG_EDIT ); in InitControls()
175 aPnt.Y() += aEDSiz.Height() + a3Siz.Height(); in InitControls()
179 aPnt, Size( aEDSiz.Width(), nLbH1 ), aEmptyStr, HID_FILEDLG_DIRS ); in InitControls()
180 aPnt.Y() += nLbH1 + a6Siz.Height(); in InitControls()
182 aPnt, aFTSiz, UniString( SvtResId( STR_FILEDLG_DRIVES ) ), HID_FILEDLG_DRIVE ); in InitControls()
183 aPnt.Y() += aFTSiz.Height() + a3Siz.Height(); in InitControls()
185 aPnt, Size( aEDSiz.Width(), nLbH2 ), aEmptyStr, HID_FILEDLG_DRIVES ); in InitControls()
[all …]
/AOO41X/main/sfx2/source/appl/
H A Dnewhelp.cxx789 Point aPnt = aExpressionFT.GetPosPixel(); in Resize() local
791 aNewSize.Width() = aSize.Width() - ( aPnt.X() * 2 ); in Resize()
797 aPnt = aIndexCB.GetPosPixel(); in Resize()
799 aNewSize.Width() = aSize.Width() - ( aPnt.X() * 2 ); in Resize()
800 aNewSize.Height() = aSize.Height() - aPnt.Y(); in Resize()
804 aPnt.X() += ( aNewSize.Width() - aBtnSize.Width() ); in Resize()
805 aPnt.Y() += aNewSize.Height() + ( a6Size.Height() / 2 ); in Resize()
807 if ( aPnt.X() < nMinX ) in Resize()
808 aPnt.X() = nMinX; in Resize()
809 aOpenBtn.SetPosPixel( aPnt ); in Resize()
[all …]
/AOO41X/main/reportdesign/source/ui/report/
H A Ddlgedfunc.cxx549 Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in checkMovementAllowed() local
558 if (bControlKeyPressed && (aPnt.Y() < 0)) in checkMovementAllowed()
560 aPnt.Y() = 0; in checkMovementAllowed()
565 if ( aPnt.Y() < 0 ) in checkMovementAllowed()
567 aPnt.Y() = 0; in checkMovementAllowed()
570 … m_pParent->getSectionWindow()->getViewsWindow()->EndDragObj( bControlKeyPressed, &m_rView, aPnt ); in checkMovementAllowed()
908 const Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local
916 m_pParent->SetPointer( m_rView.GetPreferedPointer( aPnt, m_pParent) ); in MouseButtonUp()
931 Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove() local
937 ForceScroll(aPnt); in MouseMove()
[all …]
/AOO41X/main/sfx2/source/dialog/
H A Dbasedlgs.cxx887 Point aPnt( 0, aOutSz.Height() ); in SetPage() local
888 pImpl->m_pLine->SetPosSizePixel( aPnt, aFLSz ); in SetPage()
889 aPnt.X() = aOutSz.Width() - aOffSz.Width() - aBtnSz.Width(); in SetPage()
890 aPnt.Y() += aFLSz.Height() + ( aOffSz.Height() / 2 ); in SetPage()
891 pOKBtn->SetPosSizePixel( aPnt, aBtnSz ); in SetPage()
895 aPnt.X() = aOffSz.Width(); in SetPage()
897 aPnt.Y() -= nDelta; in SetPage()
898 pImpl->m_pInfoImage->SetPosPixel( aPnt ); in SetPage()
965 Point aPnt( aOutSz.Width(), LogicToPixel( Point( 0, 6 ), MAP_APPFONT ).Y() ); in SetTabPage() local
968 pOKBtn->SetPosSizePixel( aPnt, aBtnSiz ); in SetTabPage()
[all …]
/AOO41X/main/sd/source/ui/func/
H A Dfuconstr.cxx145 Point aPnt( mpWindow->PixelToLogic(aPix) ); in MouseMove() local
150 mpView->MovAction(aPnt); in MouseMove()
174 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local
209 if (!mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV)) in MouseButtonUp()
211 mpView->MarkObj(aPnt, nHitLog); in MouseButtonUp()
218 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
219 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
H A Dfusel.cxx625 Point aPnt(mpWindow->PixelToLogic(aPix)); in MouseMove() local
631 mpView->MovInsObjPoint(aPnt); in MouseMove()
635 mpView->MovAction(aPnt); in MouseMove()
676 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local
705 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
706 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
755 long nAngle1 = GetAngle(aPnt - mpView->GetRef1()); in MouseButtonUp()
777 && Abs(aPnt.X() - aMDPos.X()) < nDrgLog in MouseButtonUp()
778 && Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
781 mpView->MarkObj(aPnt, nHitLog, rMEvt.IsShift(), rMEvt.IsMod1()); in MouseButtonUp()
[all …]
H A Dfutext.cxx527 Point aPnt(mpWindow->PixelToLogic(aPix)); in MouseMove() local
530 mpView->MovAction(aPnt); in MouseMove()
674 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local
721 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
722 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
796 mpView->PickHandle(aPnt); in MouseButtonUp()
810 Abs(aMDPos.X() - aPnt.X()) < nDrgLog1 && in MouseButtonUp()
811 Abs(aMDPos.Y() - aPnt.Y()) < nDrgLog1 && in MouseButtonUp()
840 aPnt.X() += nDrgLog + nDrgLog; in MouseButtonUp()
841 aPnt.Y() += nDrgLog + nDrgLog; in MouseButtonUp()
[all …]
H A Dfudraw.cxx598 Point aPnt; in ForcePointer() local
605 aPnt = mpWindow->PixelToLogic(pMEvt->GetPosPixel()); in ForcePointer()
611 aPnt = mpWindow->PixelToLogic(mpWindow->GetPointerPosPixel()); in ForcePointer()
616 if (SD_MOD()->GetWaterCan() && !mpView->PickHandle(aPnt)) in ForcePointer()
627 SdrHdl* pHdl = mpView->PickHandle(aPnt); in ForcePointer()
682 mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER); in ForcePointer()
706 bDefPointer = !SetPointer(pObj, aPnt); in ForcePointer()
711 …if (mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | SDRSEARCH_DE… in ForcePointer()
712 bDefPointer = !SetPointer(pObj, aPnt); in ForcePointer()
721 aPnt, mpWindow, nModifier, bLeftDown)); in ForcePointer()
H A Dfudspord.cxx110 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove() local
112 if ( mpView->PickObj(aPnt, mpView->getHitTolLog(), pPickObj, pPV) ) in MouseMove()
147 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local
149 if ( mpView->PickObj(aPnt, mpView->getHitTolLog(), mpRefObj, pPV) ) in MouseButtonUp()
/AOO41X/main/sc/source/ui/drawfunc/
H A Dfuconstr.cxx142 Point aPnt( pWindow->PixelToLogic(aPix) ); in MouseMove() local
147 pView->MovAction(aPnt); in MouseMove()
151 SdrHdl* pHdl=pView->PickHandle(aPnt); in MouseMove()
157 else if ( pView->IsMarkedHit(aPnt) ) in MouseMove()
235 Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in SimpleMouseButtonUp() local
251 pView->MarkObj(aPnt, -2, sal_False, rMEvt.IsMod1()); in SimpleMouseButtonUp()
H A Dfudraw.cxx794 Point aPnt = pWindow->PixelToLogic( aPosPixel ); in ForcePointer() local
795 SdrHdl* pHdl = pView->PickHandle(aPnt); in ForcePointer()
800 if ( pView->PickObj(aPnt, pView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER) ) in ForcePointer()
818 pView->GetPreferedPointer( aPnt, pWindow ) ); in ForcePointer()
820 else if ( pView->IsMarkedHit(aPnt) ) in ForcePointer()
830 … else if ( !bAlt && pView->PickObj(aPnt, pView->getHitTolLog(), pObj, pPV, SDRSEARCH_PICKMACRO) ) in ForcePointer()
842 else if ( IsDetectiveHit( aPnt ) ) in ForcePointer()
/AOO41X/main/sw/source/ui/uiview/
H A Dviewport.cxx532 Point aPnt( aVisArea.TopLeft() ); in Scroll() local
534 aPnt.Y() += ( rRect.Top() + rRect.Bottom() in Scroll()
540 aPnt.X() += ( rRect.Left() + rRect.Right() in Scroll()
542 aPnt.X() = SetHScrollMax( aPnt.X() ); in Scroll()
544 aPnt.X() = Max( (GetLeftMargin( *this ) - lMin) + nLeftOfst, aPnt.X() ); in Scroll()
550 aPnt.Y() = SetVScrollMax( aPnt.Y() ); in Scroll()
552 SetVisArea( aPnt ); in Scroll()
/AOO41X/main/sw/source/ui/web/
H A Dwview.cxx303 Point aPnt = GetEditWin().GetPointerPosPixel(); in SelectShell() local
304 aPnt = GetEditWin().PixelToLogic(aPnt); in SelectShell()
305 GetEditWin().UpdatePointer(aPnt); in SelectShell()

1234