| /trunk/main/tools/inc/tools/ |
| H A D | gen.hxx | 444 Rectangle& operator += ( const Point& rPt ); 445 Rectangle& operator -= ( const Point& rPt ); 448 friend Rectangle operator + ( const Rectangle& rRect, const Point& rPt ); 449 friend Rectangle operator - ( const Rectangle& rRect, const Point& rPt ); 451 friend inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt ); 452 friend inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt ); 669 inline Rectangle& Rectangle::operator +=( const Point& rPt ) in operator +=() argument 671 nLeft += rPt.X(); in operator +=() 672 nTop += rPt.Y(); in operator +=() 674 nRight += rPt.X(); in operator +=() [all …]
|
| /trunk/main/sw/source/core/layout/ |
| H A D | flycnt.cxx | 634 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() 677 rRet.nMain = rPt.X() - nTopForObjPos; in lcl_CalcDownDist() 679 rRet.nMain = nTopForObjPos - rPt.X(); in lcl_CalcDownDist() 682 rRet.nMain = rPt.Y() - nTopForObjPos; in lcl_CalcDownDist() 686 else if ( rPt.Y() <= pUp->Frm().Top() ) in lcl_CalcDownDist() 692 else if( rPt.X() < pUp->Frm().Left() && in lcl_CalcDownDist() 693 rPt.Y() <= ( bVert ? pUp->Frm().Top() : pUp->Frm().Bottom() ) ) in lcl_CalcDownDist() 699 (bVert && (pLay->Frm().Top() + pLay->Prt().Bottom()) <rPt.Y())|| in lcl_CalcDownDist() [all …]
|
| /trunk/main/sw/inc/ |
| H A D | fesh.hxx | 192 SW_DLLPRIVATE void ScrollTo( const Point &rPt ); 199 SW_DLLPRIVATE const SwFrm *GetBox( const Point &rPt, bool* pbRow = 0, bool* pbCol = 0 ) const; 267 bool IsObjSelectable( const Point& rPt ); 268 int IsInsideSelectedObj( const Point& rPt ); //!! returns enum values 274 sal_Bool ShouldObjectBeSelected(const Point& rPt); 295 ObjCntType GetObjCntType( const Point &rPt, SdrObject *&rpObj ) const; 340 const SwFrmFmt* GetFmtFromObj( const Point& rPt, SwRect** pRectToFill = 0 ) const; 342 const SwFrmFmt* GetFmtFromAnyObj( const Point& rPt ) const; 449 const SwFrmFmt* IsURLGrfAtPos( const Point& rPt, String* pURL = 0, 456 int Chainable( SwRect &rRect, const SwFrmFmt &rSource, const Point &rPt ) const; [all …]
|
| H A D | crsrsh.hxx | 418 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; 735 sal_Bool SetVisCrsr( const Point &rPt ); 821 sal_Bool GetContentAtPos( const Point& rPt, 831 void GetSmartTagTerm( const Point& rPt, 842 sal_Bool IsPageAtPos( const Point &rPt ) const; 863 sal_Bool GetShadowCrsrPos( const Point& rPt, SwFillMode eFillMode, 865 sal_Bool SetShadowCrsrPos( const Point& rPt, SwFillMode eFillMode );
|
| H A D | swrect.hxx | 96 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 -=()
|
| /trunk/main/sw/source/ui/utlui/ |
| H A D | shdwcrsr.cxx | 43 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()
|
| /trunk/main/svtools/source/graphic/ |
| H A D | grfcache.cxx | 461 …static sal_uLong GetNeededSize( OutputDevice* pOut, const Point& rPt, const Size& r… 467 … OutputDevice* pOut, const Point& rPt, const Size& rSz, in GraphicDisplayCacheEntry() argument 473 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry() 480 … OutputDevice* pOut, const Point& rPt, const Size& rSz, in GraphicDisplayCacheEntry() argument 486 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry() 521 void Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz ) const; 577 void GraphicDisplayCacheEntry::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz ) const in Draw() argument 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() [all …]
|
| H A D | grfmgr.cxx | 323 sal_Bool GraphicObject::ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const Graphic… in ImplGetCropParams() argument 330 Polygon aClipPoly( Rectangle( rPt, rSz ) ); in ImplGetCropParams() 332 const Point aOldOrigin( rPt ); in ImplGetCropParams() 344 aClipPoly.Rotate( rPt, nRot10 ); in ImplGetCropParams() 377 rPt.X() += FRound( nNewLeft * fScale ); in ImplGetCropParams() 385 rPt.Y() += FRound( nNewTop * fScale ); in ImplGetCropParams() 392 aOriginPoly[ 0 ] = rPt; in ImplGetCropParams() 394 rPt = aOriginPoly[ 0 ]; in ImplGetCropParams() 632 sal_Bool GraphicObject::IsCached( OutputDevice* pOut, const Point& rPt, const Size& rSz, in IsCached() argument 643 Point aPt( rPt ); in IsCached() [all …]
|
| H A D | grfmgr2.cxx | 199 sal_Bool GraphicManager::IsInCache( OutputDevice* pOut, const Point& rPt, in IsInCache() argument 203 return mpCache->IsInDisplayCache( pOut, rPt, rSz, rObj, rAttr ); in IsInCache() 208 sal_Bool GraphicManager::DrawObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, in DrawObj() argument 212 Point aPt( rPt ); in DrawObj() 410 sal_Bool GraphicManager::ImplDraw( OutputDevice* pOut, const Point& rPt, in ImplDraw() argument 427 mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw() 431 if( ImplCreateOutput( pOut, rPt, rSz, aSrcBmpEx, rAttr, nFlags, &aDstBmpEx ) ) in ImplDraw() 433 … rCached = mpCache->CreateDisplayCacheObj( pOut, rPt, rSz, rObj, rAttr, aDstBmpEx ); in ImplDraw() 439 bRet = ImplCreateOutput( pOut, rPt, rSz, aSrcBmpEx, rAttr, nFlags ); in ImplDraw() 445 if( mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw() [all …]
|
| H A D | grfcache.hxx | 91 …sal_Bool IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Si… 93 …sal_Bool IsInDisplayCache( OutputDevice* pOut, const Point& rPt, const Size… 95 …sal_Bool CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const… 98 …sal_Bool CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const… 101 …sal_Bool DrawDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const S…
|
| /trunk/main/sw/source/core/frmedt/ |
| H A D | fetab.cxx | 757 void SwFEShell::GetMouseTabRows( SwTabCols &rToFill, const Point &rPt ) const in GetMouseTabRows() 759 const SwFrm *pBox = GetBox( rPt ); in GetMouseTabRows() 766 void SwFEShell::SetMouseTabRows( const SwTabCols &rNew, sal_Bool bCurColOnly, const Point &rPt ) in SetMouseTabRows() argument 768 const SwFrm *pBox = GetBox( rPt ); in SetMouseTabRows() 1509 const SwFrm *lcl_FindFrmInTab( const SwLayoutFrm *pLay, const Point &rPt, SwTwips nFuzzy ) in lcl_FindFrmInTab() argument 1515 if ( pFrm->Frm().IsNear( rPt, nFuzzy ) ) in lcl_FindFrmInTab() 1519 const SwFrm *pTmp = ::lcl_FindFrmInTab( (SwLayoutFrm*)pFrm, rPt, nFuzzy ); in lcl_FindFrmInTab() 1533 const SwCellFrm *lcl_FindFrm( const SwLayoutFrm *pLay, const Point &rPt, in lcl_FindFrm() argument 1557 Point aPt( rPt ); in lcl_FindFrm() 1598 if( aPrevRect.IsInside( rPt ) ) in lcl_FindFrm() [all …]
|
| H A D | fefly1.cxx | 99 const Point& rPt ) in lcl_SetNewFlyPos() argument 112 …rm = pCntNd ? pCntNd->getLayoutFrm( pCntNd->GetDoc()->GetCurrentLayout(), &rPt, 0, sal_False ) : 0; in lcl_SetNewFlyPos() 124 const Point& rPt, in lcl_FindAnchorPos() argument 134 Point aTmpPnt( rPt ); in lcl_FindAnchorPos() 1642 const SwFrmFmt* SwFEShell::IsURLGrfAtPos( const Point& rPt, String* pURL, in IsURLGrfAtPos() argument 1657 if( pDView->PickObj( rPt, pDView->getHitTolLog(), pObj, pPV,SDRSEARCH_PICKMACRO ) && in IsURLGrfAtPos() 1668 IMapObject *pObject = pFly->GetFmt()->GetIMapObject( rPt, pFly ); in IsURLGrfAtPos() 1694 Point aPt( rPt ); in IsURLGrfAtPos() 1715 const Graphic *SwFEShell::GetGrfAtPos( const Point &rPt, in GetGrfAtPos() argument 1725 if( pDView->PickObj( rPt, pDView->getHitTolLog(), pObj, pPV ) && pObj->ISA(SwVirtFlyDrawObj) ) in GetGrfAtPos() [all …]
|
| H A D | feshview.cxx | 139 sal_Bool SwFEShell::SelectObj( const Point& rPt, sal_uInt8 nFlag, SdrObject *pObj ) in SelectObj() argument 209 pDView->MarkObj( rPt, MINMOVE, bAddSelect, bEnterGroup ); in SelectObj() 596 void SwFEShell::ScrollTo( const Point &rPt ) in ScrollTo() argument 598 const SwRect aRect( rPt, rPt ); in ScrollTo() 601 Imp()->IsDragPossible( rPt )) ) in ScrollTo() 1103 int SwFEShell::IsInsideSelectedObj( const Point &rPt ) in IsInsideSelectedObj() argument 1110 pDView->IsMarkedObjHit( rPt ) ) in IsInsideSelectedObj() 1124 bool SwFEShell::IsObjSelectable( const Point& rPt ) in IsObjSelectable() argument 1129 return Imp()->GetDrawView()->PickSomething( rPt, MINMOVE ); in IsObjSelectable() 1141 … bRet = 0 != pDView->PickObj( rPt, pDView->getHitTolLog(), pObj, pPV, SDRSEARCH_PICKMARKABLE ); in IsObjSelectable() [all …]
|
| /trunk/main/basebmp/source/ |
| H A D | bitmapdevice.cxx | 370 virtual void setPixel_i( const basegfx::B2IPoint& rPt, in setPixel_i() argument 375 vigra::Diff2D(rPt.getX(), in setPixel_i() 376 rPt.getY()) ); in setPixel_i() 385 virtual void setPixel_i( const basegfx::B2IPoint& rPt, in setPixel_i() argument 393 const vigra::Diff2D offset(rPt.getX(), in setPixel_i() 394 rPt.getY()); in setPixel_i() 408 virtual Color getPixel_i(const basegfx::B2IPoint& rPt ) in getPixel_i() argument 411 vigra::Diff2D(rPt.getX(), in getPixel_i() 412 rPt.getY()) ); in getPixel_i() 416 virtual sal_uInt32 getPixelData_i( const basegfx::B2IPoint& rPt ) in getPixelData_i() argument [all …]
|
| /trunk/main/sw/source/core/crsr/ |
| H A D | BlockCursor.cxx | 45 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()
|
| /trunk/main/svtools/inc/svtools/ |
| H A D | grfmgr.hxx | 231 …sal_Bool SVT_DLLPRIVATE ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size… 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,… 516 sal_Bool SVT_DLLPRIVATE ImplDraw( OutputDevice* pOut, const Point& rPt, 521 …sal_Bool SVT_DLLPRIVATE ImplCreateOutput( OutputDevice* pOut, const Point& rPt, const S… 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 …]
|
| /trunk/main/basebmp/inc/basebmp/ |
| H A D | bitmapdevice.hxx | 148 void setPixel( const basegfx::B2IPoint& rPt, 167 void setPixel( const basegfx::B2IPoint& rPt, 174 Color getPixel( const basegfx::B2IPoint& rPt ); 182 sal_uInt32 getPixelData( const basegfx::B2IPoint& rPt ); 558 virtual void setPixel_i( const basegfx::B2IPoint& rPt, 561 virtual void setPixel_i( const basegfx::B2IPoint& rPt, 566 virtual Color getPixel_i( const basegfx::B2IPoint& rPt ) = 0; 568 virtual sal_uInt32 getPixelData_i( const basegfx::B2IPoint& rPt ) = 0;
|
| H A D | tools.hxx | 68 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()
|
| /trunk/main/tools/source/generic/ |
| H A D | poly.cxx | 364 inline double ImplGetAngle( const Point& rCenter, const Point& rPt ) in ImplGetAngle() argument 366 const long nDX = rPt.X() - rCenter.X(); in ImplGetAngle() 367 return( atan2( -rPt.Y() + rCenter.Y(), ( ( nDX == 0L ) ? 0.000000001 : nDX ) ) ); in ImplGetAngle() 609 Point& rPt = mpImplPolygon->mpPointAry[ nStart ]; in Polygon() local 611 rPt.X() = FRound( fCenterX + fRadX * cos( fStart ) ); in Polygon() 612 rPt.Y() = FRound( fCenterY - fRadY * sin( fStart ) ); in Polygon() 648 Point& rPt = mpImplPolygon->mpPointAry[ i ]; in Polygon() local 654 rPt.X() = FRound( fK1_3 * fX0 + fK12 * fX1 + fK21 * fX2 + fK_3 * fX3 ); in Polygon() 655 rPt.Y() = FRound( fK1_3 * fY0 + fK12 * fY1 + fK21 * fY2 + fK_3 * fY3 ); in Polygon() 715 void Polygon::SetPoint( const Point& rPt, sal_uInt16 nPos ) in SetPoint() argument [all …]
|
| /trunk/main/svx/source/svdraw/ |
| H A D | svdoedge.cxx | 142 Point& rPt=ImpGetLineVersatzPoint(eLineCode); in ImpSetLineVersatz() local 143 if (ImpIsHorzLine(eLineCode,rXP)) rPt.Y()=nVal; in ImpSetLineVersatz() 144 else rPt.X()=nVal; in ImpSetLineVersatz() 149 const Point& rPt=ImpGetLineVersatzPoint(eLineCode); in ImpGetLineVersatz() local 150 if (ImpIsHorzLine(eLineCode,rXP)) return rPt.Y(); in ImpGetLineVersatz() 151 else return rPt.X(); in ImpGetLineVersatz() 524 void SdrEdgeObj::ImpSetTailPoint(FASTBOOL bTail1, const Point& rPt) in ImpSetTailPoint() argument 528 (*pEdgeTrack)[0]=rPt; in ImpSetTailPoint() 529 (*pEdgeTrack)[1]=rPt; in ImpSetTailPoint() 531 if (!bTail1) (*pEdgeTrack)[1]=rPt; in ImpSetTailPoint() [all …]
|
| H A D | svdglev.cxx | 352 static void ImpMove(Point& rPt, const void* p1, const void* /*p2*/, const void* /*p3*/, const void*… in ImpMove() argument 354 rPt.X()+=((const Size*)p1)->Width(); in ImpMove() 355 rPt.Y()+=((const Size*)p1)->Height(); in ImpMove() 371 static void ImpResize(Point& rPt, const void* p1, const void* p2, const void* p3, const void* /*p4*… in ImpResize() argument 373 ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); in ImpResize() 389 static void ImpRotate(Point& rPt, const void* p1, const void* /*p2*/, const void* p3, const void* p… in ImpRotate() argument 391 RotatePoint(rPt,*(const Point*)p1,*(const double*)p3,*(const double*)p4); in ImpRotate()
|
| /trunk/main/vcl/source/gdi/ |
| H A D | metaact.cxx | 40 inline void ImplScalePoint( Point& rPt, double fScaleX, double fScaleY ) in ImplScalePoint() argument 42 rPt.X() = FRound( fScaleX * rPt.X() ); in ImplScalePoint() 43 rPt.Y() = FRound( fScaleY * rPt.Y() ); in ImplScalePoint() 256 MetaPixelAction::MetaPixelAction( const Point& rPt, const Color& rColor ) : in IMPL_META_ACTION() 258 maPt ( rPt ), in IMPL_META_ACTION() 325 MetaPointAction::MetaPointAction( const Point& rPt ) : in IMPL_META_ACTION() 327 maPt ( rPt ) in IMPL_META_ACTION() 1203 MetaTextAction::MetaTextAction( const Point& rPt, const XubString& rStr, in IMPL_META_ACTION() 1206 maPt ( rPt ), in IMPL_META_ACTION() 1495 MetaStretchTextAction::MetaStretchTextAction( const Point& rPt, sal_uInt32 nWidth, in IMPL_META_ACTION() [all …]
|
| H A D | outdev2.cxx | 450 void OutputDevice::ImplDrawFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize, in ImplDrawFrameDev() argument 482 aPosAry.mnDestX = rPt.X(); in ImplDrawFrameDev() 483 aPosAry.mnDestY = rPt.Y(); in ImplDrawFrameDev() 498 void OutputDevice::ImplGetFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize, in ImplGetFrameDev() argument 505 rDev.DrawOutDev( rDevPt, rDevSize, rPt, rDevSize, *this ); in ImplGetFrameDev() 1666 Color OutputDevice::GetPixel( const Point& rPt ) const in GetPixel() 1679 const long nX = ImplLogicXToDevicePixel( rPt.X() ); in GetPixel() 1680 const long nY = ImplLogicYToDevicePixel( rPt.Y() ); in GetPixel() 1713 const Point& rPt = rPts[ i ]; in GetPixel() local 1714 … const SalColor aSalCol( mpGraphics->GetPixel( ImplLogicXToDevicePixel( rPt.X() ), in GetPixel() [all …]
|
| /trunk/main/svx/source/dialog/ |
| H A D | _contdlg.cxx | 566 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()
|
| /trunk/main/sw/source/ui/uiview/ |
| H A D | viewling.cxx | 682 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()
|