/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 671 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 …]
|
/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() 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 …]
|
/trunk/main/sw/inc/ |
H A D | fesh.hxx | 194 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 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 | 473 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 D | grfmgr.cxx | 323 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 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() 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 D | grfcache.hxx | 91 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,
|
/trunk/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 759 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 D | fefly1.cxx | 101 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 D | feshview.cxx | 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 1150 sal_Bool SwFEShell::ShouldObjectBeSelected(const Point& rPt) in ShouldObjectBeSelected() argument 1201 Point aTmpPt( rPt ); in ShouldObjectBeSelected() 2691 const Point &rPt ) const in Chainable() [all …]
|
/trunk/main/basebmp/source/ |
H A D | bitmapdevice.cxx | 396 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 …]
|
/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& 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 …]
|
/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 | 366 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 …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoedge.cxx | 144 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 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 | 42 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 …]
|
H A D | outdev2.cxx | 482 aPosAry.mnDestX = rPt.X(); in ImplDrawFrameDev() 483 aPosAry.mnDestY = rPt.Y(); in ImplDrawFrameDev() 1666 Color OutputDevice::GetPixel( const Point& rPt ) const in GetPixel() 1679 const long nX = ImplLogicXToDevicePixel( rPt.X() ); in GetPixel() 1713 const Point& rPt = rPts[ i ]; in GetPixel() local 1730 void OutputDevice::DrawPixel( const Point& rPt ) in DrawPixel() argument 1736 mpMetaFile->AddAction( new MetaPointAction( rPt ) ); in DrawPixel() 1741 Point aPt = ImplLogicToDevicePixel( rPt ); in DrawPixel() 1761 mpAlphaVDev->DrawPixel( rPt ); in DrawPixel() 1812 Point aPt = ImplLogicToDevicePixel( rPt ); in DrawPixel() [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()
|