Home
last modified time | relevance | path

Searched refs:rPt (Results 1 – 25 of 125) sorted by relevance

12345

/aoo4110/main/tools/inc/tools/
H A Dgen.hxx671 nLeft += rPt.X(); in operator +=()
672 nTop += rPt.Y(); in operator +=()
674 nRight += rPt.X(); in operator +=()
676 nBottom += rPt.Y(); in operator +=()
682 nLeft -= rPt.X(); in operator -=()
683 nTop -= rPt.Y(); in operator -=()
685 nRight -= rPt.X(); in operator -=()
687 nBottom -= rPt.Y(); in operator -=()
693 Rectangle aRect( rRect.nLeft + rPt.X(), rRect.nTop + rPt.Y(), in operator +()
701 Rectangle aRect( rRect.nLeft - rPt.X(), in operator -()
[all …]
/aoo4110/main/sw/source/ui/utlui/
H A Dshdwcrsr.cxx43 void SwShadowCursor::SetPos( const Point& rPt, long nHeight, sal_uInt16 nMode ) in SetPos() argument
45 Point aPt( pWin->LogicToPixel( rPt )); in SetPos()
59 void SwShadowCursor::DrawTri( const Point& rPt, long nHeight, sal_Bool bLeft ) in DrawTri() argument
65 Point aPt1( (bLeft ? rPt.X() - 3 : rPt.X() + 3), in DrawTri()
66 rPt.Y() + nLineDiffHalf ); in DrawTri()
78 void SwShadowCursor::DrawCrsr( const Point& rPt, long nHeight, sal_uInt16 nMode ) in DrawCrsr() argument
90 pWin->DrawLine( Point( rPt.X(), rPt.Y() + 1), in DrawCrsr()
91 Point( rPt.X(), rPt.Y() - 2 + nHeight )); in DrawCrsr()
95 DrawTri( rPt, nHeight, sal_False ); in DrawCrsr()
97 DrawTri( rPt, nHeight, sal_True ); in DrawCrsr()
/aoo4110/main/sw/inc/
H A Dfesh.hxx194 SW_DLLPRIVATE void ScrollTo( const Point &rPt );
269 bool IsObjSelectable( const Point& rPt );
276 sal_Bool ShouldObjectBeSelected(const Point& rPt);
344 const SwFrmFmt* GetFmtFromAnyObj( const Point& rPt ) const;
459 int Chain( SwFrmFmt &rSource, const Point &rPt );
540 sal_Bool Paste( SotDataObject& rObj, const Point& rPt );
583 sal_uInt16 GetMousePageDesc( const Point &rPt ) const;
664 sal_uInt8 WhichMouseTabCol( const Point &rPt ) const;
669 const Point &rPt );
738 sal_uInt16 GetCurMouseColNum( const Point &rPt,
[all …]
H A Dswrect.hxx96 inline SwRect &operator+=( const Point &rPt );
97 inline SwRect &operator-=( const Point &rPt );
277 inline SwRect &SwRect::operator+=( const Point &rPt ) in operator +=() argument
279 m_Point += rPt; in operator +=()
282 inline SwRect &SwRect::operator-=( const Point &rPt ) in operator -=() argument
284 m_Point -= rPt; in operator -=()
H A Dcrsrsh.hxx418 int SetCrsr( const Point &rPt, sal_Bool bOnlyText = sal_False, bool bBlock = true );
451 sal_Bool ChgCurrPam( const Point & rPt,
514 sal_Bool IsOverReadOnlyPos( const Point& rPt ) const;
730 sal_Bool SetVisCrsr( const Point &rPt );
816 sal_Bool GetContentAtPos( const Point& rPt,
826 void GetSmartTagTerm( const Point& rPt,
837 sal_Bool IsPageAtPos( const Point &rPt ) const;
858 sal_Bool GetShadowCrsrPos( const Point& rPt, SwFillMode eFillMode,
860 sal_Bool SetShadowCrsrPos( const Point& rPt, SwFillMode eFillMode );
/aoo4110/main/sw/source/core/layout/
H A Dflycnt.cxx634 const Point &rPt, in lcl_CalcDownDist() argument
640 if ( pCnt->Frm().IsInside( rPt ) ) in lcl_CalcDownDist()
669 if ( pUp->Frm().IsInside( rPt ) ) in lcl_CalcDownDist()
926 if ( pLay->Frm().IsInside( rPt ) ) in lcl_CalcDownDist()
961 Point arPoint( rPt ); in lcl_FindCntDiff()
983 Min( pCnt->Frm().Left(), rPt.X() ), in lcl_FindCntDiff()
985 Min( pCnt->Frm().Top(), rPt.Y() ); in lcl_FindCntDiff()
989 if ( pCnt->Frm().Top() <= rPt.Y() ) in lcl_FindCntDiff()
1053 if ( pNew->Frm().Top() <= rPt.Y() ) in lcl_FindCnt()
1078 if ( pNew->Frm().Top() <= rPt.Y() ) in lcl_FindCnt()
[all …]
/aoo4110/main/svtools/source/graphic/
H A Dgrfcache.cxx473 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry()
486 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry()
580 GraphicManager::ImplDraw( pOut, rPt, rSz, *mpMtf, maAttr ); in Draw()
585 Polygon aPoly( Rectangle( rPt, rSz ) ); in Draw()
587 aPoly.Rotate( rPt, maAttr.GetRotation() % 3600 ); in Draw()
592 pOut->DrawBitmapEx( rPt, rSz, *mpBmpEx ); in Draw()
882 const Point aPtPixel( pOut->LogicToPixel( rPt ) ); in IsInDisplayCache()
933 pOut, rPt, rSz, rObj, rAttr, rBmpEx ); in CreateDisplayCacheObj()
967 pOut, rPt, rSz, rObj, rAttr, rMtf ); in CreateDisplayCacheObj()
991 const Point aPtPixel( pOut->LogicToPixel( rPt ) ); in DrawDisplayCacheObj()
[all …]
H A Dgrfmgr.cxx323 Polygon aClipPoly( Rectangle( rPt, rSz ) ); in ImplGetCropParams()
325 const Point aOldOrigin( rPt ); in ImplGetCropParams()
337 aClipPoly.Rotate( rPt, nRot10 ); in ImplGetCropParams()
370 rPt.X() += FRound( nNewLeft * fScale ); in ImplGetCropParams()
378 rPt.Y() += FRound( nNewTop * fScale ); in ImplGetCropParams()
385 aOriginPoly[ 0 ] = rPt; in ImplGetCropParams()
387 rPt = aOriginPoly[ 0 ]; in ImplGetCropParams()
636 Point aPt( rPt ); in IsCached()
680 Point aPt( rPt ); in Draw()
763 Point aPt( rPt ); in DrawWithPDFHandling()
[all …]
H A Dgrfmgr2.cxx199 sal_Bool GraphicManager::IsInCache( OutputDevice* pOut, const Point& rPt, in IsInCache() argument
203 return mpCache->IsInDisplayCache( pOut, rPt, rSz, rObj, rAttr ); in IsInCache()
212 Point aPt( rPt ); in DrawObj()
445 if( mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw()
479 aGraphic.Draw( pOut, rPt, rSz ); in ImplDraw()
504 Polygon aPoly( Rectangle( rPt, rSz ) ); in ImplCreateOutput()
506 aPoly.Rotate( rPt, nRot10 ); in ImplCreateOutput()
513 aOutPtPix = pOut->LogicToPixel( rPt ); in ImplCreateOutput()
722 const Point& rPt, const Size& rSz, in ImplCreateOutput() argument
1012 ImplDraw( pOut, rPt, rSz, rOutMtf, rAttr ); in ImplCreateOutput()
[all …]
H A Dgrfcache.hxx91 sal_Bool IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Size& rSz,
93 sal_Bool IsInDisplayCache( OutputDevice* pOut, const Point& rPt, const Size& rSz,
95 sal_Bool CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
98 sal_Bool CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
101 sal_Bool DrawDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
/aoo4110/main/sw/source/core/frmedt/
H A Dfetab.cxx759 const SwFrm *pBox = GetBox( rPt ); in GetMouseTabRows()
768 const SwFrm *pBox = GetBox( rPt ); in SetMouseTabRows()
1557 Point aPt( rPt ); in lcl_FindFrm()
1688 const SwTwips nMouseTop = bVert ? rPt.X() : rPt.Y(); in lcl_FindFrm()
2128 if( GetContentAtPos(rPt, aCntntAtPos)) in IsNumLabel()
2178 const SwFrm *pBox = GetBox( rPt ); in GetMouseTabCols()
2184 const Point &rPt ) in SetMouseTabCols() argument
2186 const SwFrm *pBox = GetBox( rPt ); in SetMouseTabCols()
2215 const SwFrm *pFrm = GetBox( rPt ); in GetCurMouseTabColNum()
2223 GetMouseTabCols( aTabCols, rPt ); in GetCurMouseTabColNum()
[all …]
H A Dfefly1.cxx101 const Point& rPt ) in lcl_SetNewFlyPos() argument
126 const Point& rPt, in lcl_FindAnchorPos() argument
136 Point aTmpPnt( rPt ); in lcl_FindAnchorPos()
1644 const SwFrmFmt* SwFEShell::IsURLGrfAtPos( const Point& rPt, String* pURL, in IsURLGrfAtPos() argument
1670 IMapObject *pObject = pFly->GetFmt()->GetIMapObject( rPt, pFly ); in IsURLGrfAtPos()
1696 Point aPt( rPt ); in IsURLGrfAtPos()
1717 const Graphic *SwFEShell::GetGrfAtPos( const Point &rPt, in GetGrfAtPos() argument
1787 const SwFrmFmt* SwFEShell::GetFmtFromAnyObj( const Point& rPt ) const in GetFmtFromAnyObj()
1789 const SwFrmFmt* pRet = GetFmtFromObj( rPt ); in GetFmtFromAnyObj()
1793 Point aPt( rPt ); in GetFmtFromAnyObj()
[all …]
H A Dfeshview.cxx212 pDView->MarkObj( rPt, MINMOVE, bAddSelect, bEnterGroup ); in SelectObj()
599 void SwFEShell::ScrollTo( const Point &rPt ) in ScrollTo() argument
601 const SwRect aRect( rPt, rPt ); in ScrollTo()
604 Imp()->IsDragPossible( rPt )) ) in ScrollTo()
1106 int SwFEShell::IsInsideSelectedObj( const Point &rPt ) in IsInsideSelectedObj() argument
1113 pDView->IsMarkedObjHit( rPt ) ) in IsInsideSelectedObj()
1127 bool SwFEShell::IsObjSelectable( const Point& rPt ) in IsObjSelectable() argument
1153 sal_Bool SwFEShell::ShouldObjectBeSelected(const Point& rPt) in ShouldObjectBeSelected() argument
1204 Point aTmpPt( rPt ); in ShouldObjectBeSelected()
2694 const Point &rPt ) const in Chainable()
[all …]
/aoo4110/main/sw/source/core/crsr/
H A DBlockCursor.cxx45 virtual void setStartPoint( const Point &rPt );
46 virtual void setEndPoint( const Point &rPt );
64 void SwBlockCursor::setStartPoint( const Point &rPt ) in setStartPoint() argument
67 *pStartPt = rPt; in setStartPoint()
69 pStartPt = new Point( rPt ); in setStartPoint()
72 void SwBlockCursor::setEndPoint( const Point &rPt ) in setEndPoint() argument
75 *pEndPt = rPt; in setEndPoint()
77 pEndPt = new Point( rPt ); in setEndPoint()
/aoo4110/main/basebmp/source/
H A Dbitmapdevice.cxx396 const vigra::Diff2D offset(rPt.getX(), in setPixel_i()
397 rPt.getY()); in setPixel_i()
1103 if( mpImpl->maLineClipRect.isInside(rPt) ) in setPixel()
1104 setPixel_i(rPt,lineColor,drawMode); in setPixel()
1114 setPixel(rPt,lineColor,drawMode); in setPixel()
1118 if( mpImpl->maLineClipRect.isInside(rPt) ) in setPixel()
1129 if( mpImpl->maLineClipRect.isInside(rPt) ) in getPixel()
1130 return getPixel_i(rPt); in getPixel()
1137 if( mpImpl->maLineClipRect.isInside(rPt) ) in getPixelData()
1138 return getPixelData_i(rPt); in getPixelData()
[all …]
/aoo4110/main/svtools/inc/svtools/
H A Dgrfmgr.hxx231 …sal_Bool SVT_DLLPRIVATE ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const Gr…
348 sal_Bool IsCached( OutputDevice* pOut, const Point& rPt, const Size& rSz,
425 sal_Bool Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz,
429 const Point& rPt, const Size& rSz,
470 …sal_Bool StartAnimation( OutputDevice* pOut, const Point& rPt, const Size& rSz, long nExtraDat…
516 sal_Bool SVT_DLLPRIVATE ImplDraw( OutputDevice* pOut, const Point& rPt,
521 sal_Bool SVT_DLLPRIVATE ImplCreateOutput( OutputDevice* pOut, const Point& rPt, const Size& rSz,
525 const Point& rPt, const Size& rSz,
544 static void SVT_DLLPRIVATE ImplDraw( OutputDevice* pOut, const Point& rPt, const Size& rSz,
591 sal_Bool IsInCache( OutputDevice* pOut, const Point& rPt, const Size& rSz,
[all …]
/aoo4110/main/basebmp/inc/basebmp/
H A Dbitmapdevice.hxx141 void setPixel( const basegfx::B2IPoint& rPt,
160 void setPixel( const basegfx::B2IPoint& rPt,
167 Color getPixel( const basegfx::B2IPoint& rPt );
175 sal_uInt32 getPixelData( const basegfx::B2IPoint& rPt );
551 virtual void setPixel_i( const basegfx::B2IPoint& rPt,
554 virtual void setPixel_i( const basegfx::B2IPoint& rPt,
559 virtual Color getPixel_i( const basegfx::B2IPoint& rPt ) = 0;
561 virtual sal_uInt32 getPixelData_i( const basegfx::B2IPoint& rPt ) = 0;
H A Dtools.hxx68 const basegfx::B2IPoint& rPt) in srcIter() argument
71 begin + vigra::Diff2D(rPt.getX(),rPt.getY()), in srcIter()
79 const basegfx::B2IPoint& rPt) in destIter() argument
82 begin + vigra::Diff2D(rPt.getX(),rPt.getY()), in destIter()
/aoo4110/main/tools/source/generic/
H A Dpoly.cxx366 const long nDX = rPt.X() - rCenter.X(); in ImplGetAngle()
609 Point& rPt = mpImplPolygon->mpPointAry[ nStart ]; in Polygon() local
648 Point& rPt = mpImplPolygon->mpPointAry[ i ]; in Polygon() local
722 mpImplPolygon->mpPointAry[nPos] = rPt; in SetPoint()
1308 Point& rPt = mpImplPolygon->mpPointAry[ i ]; in Rotate() local
1310 nX = rPt.X() - nCenterX; in Rotate()
1311 nY = rPt.Y() - nCenterY; in Rotate()
1690 const Point& rPt = mpImplPolygon->mpPointAry[ i ]; in GetSignedArea() local
1692 fArea += ( rPt.X() - rPt1.X() ) * ( rPt.Y() + rPt1.Y() ); in GetSignedArea()
1697 fArea += ( rPt.X() - rPt0.X() ) * ( rPt.Y() + rPt0.Y() ); in GetSignedArea()
[all …]
/aoo4110/main/svx/source/svdraw/
H A Dsvdoedge.cxx144 else rPt.X()=nVal; in ImpSetLineVersatz()
151 else return rPt.X(); in ImpGetLineVersatz()
528 (*pEdgeTrack)[0]=rPt; in ImpSetTailPoint()
529 (*pEdgeTrack)[1]=rPt; in ImpSetTailPoint()
535 else (*pEdgeTrack)[0]=rPt; in ImpSetTailPoint()
616 long dxl=rPt.X()-aR.Left(); in ImpCalcEscAngle()
617 long dyo=rPt.Y()-aR.Top(); in ImpCalcEscAngle()
618 long dxr=aR.Right()-rPt.X(); in ImpCalcEscAngle()
619 long dyu=aR.Bottom()-rPt.Y(); in ImpCalcEscAngle()
2103 Rectangle aMouseRect(rPt,rPt); in ImpFindConnector()
[all …]
H A Dsvdglev.cxx361 static void ImpMove(Point& rPt, const void* p1, const void* /*p2*/, const void* /*p3*/, const void*… in ImpMove() argument
363 rPt.X()+=((const Size*)p1)->Width(); in ImpMove()
364 rPt.Y()+=((const Size*)p1)->Height(); in ImpMove()
381 static void ImpResize(Point& rPt, const void* p1, const void* p2, const void* p3, const void* /*p4*… in ImpResize() argument
383 ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize()
400 static void ImpRotate(Point& rPt, const void* p1, const void* /*p2*/, const void* p3, const void* p… in ImpRotate() argument
402 RotatePoint(rPt,*(const Point*)p1,*(const double*)p3,*(const double*)p4); in ImpRotate()
H A Dsvdxcgv.cxx104 sal_Bool SdrExchangeView::ImpLimitToWorkArea(Point& rPt) const in ImpLimitToWorkArea()
110 if(rPt.X()<aMaxWorkArea.Left()) in ImpLimitToWorkArea()
112 rPt.X() = aMaxWorkArea.Left(); in ImpLimitToWorkArea()
116 if(rPt.X()>aMaxWorkArea.Right()) in ImpLimitToWorkArea()
118 rPt.X() = aMaxWorkArea.Right(); in ImpLimitToWorkArea()
122 if(rPt.Y()<aMaxWorkArea.Top()) in ImpLimitToWorkArea()
124 rPt.Y() = aMaxWorkArea.Top(); in ImpLimitToWorkArea()
128 if(rPt.Y()>aMaxWorkArea.Bottom()) in ImpLimitToWorkArea()
130 rPt.Y() = aMaxWorkArea.Bottom(); in ImpLimitToWorkArea()
/aoo4110/main/vcl/source/gdi/
H A Dmetaact.cxx42 rPt.X() = FRound( fScaleX * rPt.X() ); in ImplScalePoint()
43 rPt.Y() = FRound( fScaleY * rPt.Y() ); in ImplScalePoint()
258 maPt ( rPt ), in IMPL_META_ACTION()
327 maPt ( rPt ) in IMPL_META_ACTION()
1206 maPt ( rPt ), in IMPL_META_ACTION()
1499 maPt ( rPt ), in IMPL_META_ACTION()
1784 maPt ( rPt ) in IMPL_META_ACTION()
1857 maPt ( rPt ), in IMPL_META_ACTION()
2017 maPt ( rPt ) in IMPL_META_ACTION()
2090 maPt ( rPt ), in IMPL_META_ACTION()
[all …]
/aoo4110/main/svx/source/dialog/
H A D_contdlg.cxx566 Point& rPt = rPoly[ i ]; in SetPolyPolygon() local
569 rPt = pOutDev->LogicToPixel( rPt, aGrfMap ); in SetPolyPolygon()
571 rPt = pOutDev->PixelToLogic( rPt, aMap100 ); in SetPolyPolygon()
603 Point& rPt = rPoly[ i ]; in GetPolyPolygon() local
605 rPt = pOutDev->LogicToPixel( rPt, aMap100 ); in GetPolyPolygon()
608 rPt = pOutDev->PixelToLogic( rPt, aGrfMap ); in GetPolyPolygon()
/aoo4110/main/sw/source/ui/uiview/
H A Dviewling.cxx682 sal_Bool SwView::ExecSpellPopup(const Point& rPt) in ExecSpellPopup() argument
690 bRet = ExecDrwTxtSpellPopup(rPt); in ExecSpellPopup()
702 Reference< XSpellAlternatives > xAlt( pWrtShell->GetCorrection(&rPt, aToFill) ); in ExecSpellPopup()
710 …rammarCorrection( aGrammarCheckRes, nErrorPosInText, nErrorInResult, aSuggestions, &rPt, aToFill ); in ExecSpellPopup()
748 const Point aPixPos = GetEditWin().LogicToPixel( rPt ); in ExecSpellPopup()
833 sal_Bool SwView::ExecSmartTagPopup( const Point& rPt ) in ExecSmartTagPopup() argument
848 pWrtShell->GetSmartTagTerm( rPt, aToFill, aSmartTagTypes, aStringKeyMaps, xRange); in ExecSmartTagPopup()
977 sal_Bool SwView::ExecFieldPopup( const Point& rPt, IFieldmark *fieldBM ) in ExecFieldPopup() argument
985 const Point aPixPos = GetEditWin().LogicToPixel( rPt ); in ExecFieldPopup()

Completed in 262 milliseconds

12345