/trunk/main/svtools/source/control/ |
H A D | valueacc.cxx | 469 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 529 aRet.X = aRect.X; in getLocation() 530 aRet.Y = aRect.Y; in getLocation() 560 aRet.Width = aRect.Width; in getSize() 561 aRet.Height = aRect.Height; in getSize() 1159 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 1190 aRet.X = aRect.Left(); in getBounds() 1191 aRet.Y = aRect.Top(); in getBounds() 1207 aRet.X = aRect.X; in getLocation() 1208 aRet.Y = aRect.Y; in getLocation() [all …]
|
H A D | calendar.cxx | 765 aRect.Left()++; in ImplDrawSpinArrow() 773 aRect.Top()--; in ImplDrawSpinArrow() 1400 aRect.Bottom() = aRect.Top()+mnDayHeight-1; in ImplInvertDropPos() 1401 aRect.Right() = aRect.Left()+mnDayWidth-1; in ImplInvertDropPos() 1402 Invert( aRect ); in ImplInvertDropPos() 2251 return aRect; in GetDateRect() 2266 return aRect; in GetDateRect() 2284 aRect.Right() = aRect.Left()+mnDayWidth; in GetDateRect() 2322 aRect.Right() = aRect.Left()+mnDayWidth; in GetDateRect() 2323 aRect.Bottom() = aRect.Top()+mnDayHeight; in GetDateRect() [all …]
|
H A D | toolbarmenuacc.cxx | 363 const awt::Rectangle aRect( getBounds() ); in containsPoint() local 364 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 894 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 921 aRect.Intersection( aParentRect ); in getBounds() 923 aRet.X = aRect.Left(); in getBounds() 924 aRet.Y = aRect.Top(); in getBounds() 925 aRet.Width = aRect.GetWidth(); in getBounds() 926 aRet.Height = aRect.GetHeight(); in getBounds() 937 return awt::Point( aRect.X, aRect.Y ); in getLocation() 965 aRet.Width = aRect.Width; in getSize() [all …]
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | csvgrid.cxx | 1132 maBackgrDev.DrawRect( aRect ); in ImplDrawColumnBackgr() 1169 maBackgrDev.DrawRect( aRect ); in ImplDrawRowHeaders() 1173 maBackgrDev.DrawRect( aRect ); in ImplDrawRowHeaders() 1192 maBackgrDev.DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplDrawRowHeaders() 1195 maBackgrDev.DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplDrawRowHeaders() 1196 aRect.Top() = GetHdrHeight(); in ImplDrawRowHeaders() 1240 ImplInvertRect( maGridDev, aRect ); in ImplDrawColumnSelection() 1310 maBackgrDev.DrawRect( aRect ); in ImplDrawHorzScrolled() 1313 maGridDev.DrawRect( aRect ); in ImplDrawHorzScrolled() 1323 ImplInvertRect( maGridDev, aRect ); in ImplInvertCursor() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | documen3.cxx | 1574 aRect.Right() = aRect.Left(); in GetEmbeddedRect() 1577 aRect.Bottom() = aRect.Top(); in GetEmbeddedRect() 1580 aRect.Left() = (long) ( aRect.Left() * HMM_PER_TWIPS ); in GetEmbeddedRect() 1585 return aRect; in GetEmbeddedRect() 1931 aRect.Right() = aRect.Left(); in GetMMRect() 1932 aRect.Bottom() = aRect.Top(); in GetMMRect() 1938 aRect.Left() = (long)(aRect.Left() * HMM_PER_TWIPS); in GetMMRect() 1939 aRect.Right() = (long)(aRect.Right() * HMM_PER_TWIPS); in GetMMRect() 1940 aRect.Top() = (long)(aRect.Top() * HMM_PER_TWIPS); in GetMMRect() 1941 aRect.Bottom() = (long)(aRect.Bottom() * HMM_PER_TWIPS); in GetMMRect() [all …]
|
/trunk/main/sd/source/ui/slidesorter/shell/ |
H A D | SlideSorterViewShell.cxx | 724 Rectangle aRect(rZoomRect); in SetZoomRect() local 726 if (aRect.GetWidth() < aPageSize.Width()) in SetZoomRect() 730 aRect.Left() -= nWidthDiff; in SetZoomRect() 731 aRect.Right() += nWidthDiff; in SetZoomRect() 733 if (aRect.Left() < 0) in SetZoomRect() 735 aRect.SetPos(Point(0, aRect.Top())); in SetZoomRect() 743 aRect.Top() -= nHeightDiff; in SetZoomRect() 744 aRect.Bottom() += nHeightDiff; in SetZoomRect() 746 if (aRect.Top() < 0) in SetZoomRect() 748 aRect.SetPos(Point(aRect.Left(), 0)); in SetZoomRect() [all …]
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape2d.cxx | 1122 aRect.Justify(); in GetTextRect() 1123 return aRect; in GetTextRect() 1366 Rectangle aRect( rRect ); in CreateArc() local 1372 if ( aRect.Left() > aRect.Right() ) in CreateArc() 1374 if ( aRect.Top() > aRect.Bottom() ) in CreateArc() 1378 aRect.Justify(); in CreateArc() 1622 Rectangle aRect( aP, aS ); in CreateSubPath() local 1623 if ( aRect.GetWidth() && aRect.GetHeight() ) in CreateSubPath() 1725 if ( aRect.GetWidth() && aRect.GetHeight() ) in CreateSubPath() 1727 Point aCenter( aRect.Center() ); in CreateSubPath() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | inftxt.cxx | 835 *pRect = aRect; in CalcRect() 844 aRect.Intersection( aClip ); in CalcRect() 847 *pIntersect = aRect; in CalcRect() 1015 SwRect aRect; in DrawTab() local 1018 if ( ! aRect.HasArea() ) in DrawTab() 1040 SwRect aRect; in DrawLineBreak() local 1043 if( aRect.HasArea() ) in DrawLineBreak() 1068 aRect.Pos().X() += 20; in DrawRedArrow() 1077 aRect.Pos().Y() -= aRect.Height() + 20; in DrawRedArrow() 1078 aRect.Pos().X() -= aRect.Width() + 20; in DrawRedArrow() [all …]
|
H A D | txtfly.cxx | 870 SwRect aRect( rRect ); in IsAnyObj() local 871 if ( aRect.IsEmpty() ) in IsAnyObj() 935 aRect.Width( aRect.Width() + nSpaceCnt * rInf.GetSpace() ); in DrawTextOpaque() 938 aRect.Width( aRect.Width() - nTmpLen * rInf.GetSpace() ); in DrawTextOpaque() 944 aRect.Intersection( aClipRect ); in DrawTextOpaque() 947 SwRegionRects aRegion( aRect ); in DrawTextOpaque() 1447 SwRect aRect; in InitAnchoredObjList() local 1450 aRect = pCurrFrm->Prt(); in InitAnchoredObjList() 1455 aRect = pCurrFrm->Frm(); in InitAnchoredObjList() 1949 pOut->DrawRect( aRect ); in ShowContour() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 159 Rectangle aRect(aPos, mpWindow->GetOutputSizePixel() ); in DoExecute() local 160 aPos = aRect.Center(); in DoExecute() 321 Rectangle aRect; in DoExecute() local 324 aRect = pPickObj->GetLogicRect(); in DoExecute() 327 aSz.Width = aRect.GetWidth(); in DoExecute() 328 aSz.Height = aRect.GetHeight(); in DoExecute() 366 aRect = Rectangle(aPos, aSize); in DoExecute() 413 pOleObj->SetLogicRect(aRect); in DoExecute() 653 Rectangle aRect (aPnt, aSize); in DoExecute() local 673 aRect.SetSize( aNewSize ); in DoExecute() [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 747 aRect.Right() = aRect.Left(); in IMPL_LINK() 748 aRect.Bottom() = aRect.Top(); in IMPL_LINK() 819 aRect.Left() = aTopLeft.X(); in CalcVisArea() 820 aRect.Top() = aTopLeft.Y(); in CalcVisArea() 827 if ( aRect.Left() ) in CalcVisArea() 833 aRect.Left() -= lDelta; in CalcVisArea() 834 aRect.Right() -= lDelta; in CalcVisArea() 837 if ( aRect.Top() ) in CalcVisArea() 843 aRect.Top() -= lDelta; in CalcVisArea() 844 aRect.Bottom() -= lDelta; in CalcVisArea() [all …]
|
/trunk/main/sw/source/ui/docvw/ |
H A D | edtwin2.cxx | 374 Rectangle aRect( aFldRect.SVRect() ); in RequestHelp() local 376 aRect.Left() = aPt.X(); in RequestHelp() 377 aRect.Top() = aPt.Y(); in RequestHelp() 379 aRect.Right() = aPt.X(); in RequestHelp() 380 aRect.Bottom() = aPt.Y(); in RequestHelp() 381 Help::ShowQuickHelp( this, aRect, sTxt, nStyle ); in RequestHelp() 420 Rectangle aRect(rEvt.GetMousePosPixel(), aTxtSize); in RequestHelp() local 421 Help::ShowQuickHelp(this, aRect, sTxt); in RequestHelp() 527 Rectangle aRect( pShadCrsr->GetRect()); in Paint() local 529 if( rRect.IsInside( aRect ) ) in Paint() [all …]
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fuconrec.cxx | 239 Rectangle aRect(rRectangle); in CreateDefaultObject() local 240 Point aStart = aRect.TopLeft(); in CreateDefaultObject() 241 Point aEnd = aRect.BottomRight(); in CreateDefaultObject() 249 sal_Int32 nYMiddle((aRect.Top() + aRect.Bottom()) / 2); in CreateDefaultObject() 285 ((SdrCaptionObj*)pObj)->SetLogicRect(aRect); in CreateDefaultObject() 287 aRect.TopLeft() - Point(aRect.GetWidth() / 2, aRect.GetHeight() / 2)); in CreateDefaultObject() 299 pObj->SetLogicRect(aRect); in CreateDefaultObject()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdocapt.cxx | 344 rDrag.SetActionRect(aRect); in beginSpecialDrag() 381 aRect.Move(aDelt.X(),aDelt.Y()); in applySpecialDrag() 450 ImpCalcTail(aPara,aTailPoly,aRect); in ImpRecalcTail() 562 aRect.SetPos(rStat.GetNow()); in BegCreate() 564 ImpCalcTail(aPara,aTailPoly,aRect); in BegCreate() 565 rStat.SetActionRect(aRect); in BegCreate() 573 aRect.SetPos(rStat.GetNow()); in MovCreate() 575 rStat.SetActionRect(aRect); in MovCreate() 585 aRect.SetPos(rStat.GetNow()); in EndCreate() 603 const basegfx::B2DRange aRange(aRect.Left(), aRect.Top(), aRect.Right(), aRect.Bottom()); in TakeCreatePoly() [all …]
|
H A D | svdoashp.cxx | 1770 aRect=rRect; in NbcSetSnapRect() 1771 ImpJustifyRect(aRect); in NbcSetSnapRect() 1792 aRect = rRect; in NbcSetLogicRect() 1793 ImpJustifyRect( aRect ); in NbcSetLogicRect() 1857 Rectangle aOld( aRect ); in NbcResize() 2090 Polygon aPoly( aRect ); in ImpCheckCustomGluePointsAreAdded() 2110 Point aRef( aRect.GetWidth() / 2, aRect.GetHeight() / 2 ); in ImpCheckCustomGluePointsAreAdded() 2472 aRect = aRect1; in DragCreateObject() 2769 aReturnValue = aRect; in ImpCalculateTextFrame() 2794 aRect = aNewTextRect; in NbcAdjustTextFrameWidthAndHeight() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviewsa.cxx | 722 Rectangle aRect; in GetStatusBarState() local 723 mpDrawView->TakeActionRect( aRect ); in GetStatusBarState() 725 if ( aRect.IsEmpty() ) in GetStatusBarState() 729 mpDrawView->GetSdrPageView()->LogicToPagePos(aRect); in GetStatusBarState() 730 aPos = aRect.TopLeft(); in GetStatusBarState() 734 Size aSize( aRect.Right() - aRect.Left(), aRect.Bottom() - aRect.Top() ); in GetStatusBarState() 744 Rectangle aRect = mpDrawView->GetAllMarkedRect(); in GetStatusBarState() local 745 mpDrawView->GetSdrPageView()->LogicToPagePos(aRect); in GetStatusBarState() 748 Point aShapePosition (aRect.TopLeft()); in GetStatusBarState() 753 Size aSize( aRect.Right() - aRect.Left(), aRect.Bottom() - aRect.Top() ); in GetStatusBarState()
|
/trunk/main/sc/source/ui/view/ |
H A D | output.cxx | 783 Rectangle aRect; in DrawBackground() local 1021 aRect.Top() = aRect.Bottom() - nSizeY; in DrawExtraShadow() 1023 aRect.Bottom() = aRect.Top() + nSizeY; in DrawExtraShadow() 1029 aRect.Left() = aRect.Right() - nSizeX; in DrawExtraShadow() 1031 aRect.Right() = aRect.Left() + nSizeX; in DrawExtraShadow() 1068 Rectangle aRect; in DrawClear() local 1806 Rectangle aRect; in DrawMark() local 1822 aRect.Left() = aRect.Right() + 1; in DrawMark() 1824 aRect.Right() = aRect.Left() - 1; in DrawMark() 1831 if (bOldMarked && aRect.Right() >= aRect.Left()) in DrawMark() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev6.cxx | 389 DrawRect( aRect ); in DrawTransparent() 390 aRect.Move( 0, nMove ); in DrawTransparent() 396 DrawRect( aRect ); in DrawTransparent() 397 aRect.Move( nMove, 0 ); in DrawTransparent() 1129 Rectangle aRect = LogicToPixel( rRect ); in DrawWallpaper() local 1130 aRect.Justify(); in DrawWallpaper() 1132 if ( !aRect.IsEmpty() ) in DrawWallpaper() 1134 ImplDrawWallpaper( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), in DrawWallpaper() 1224 if( !aRect.IsEmpty() ) in DrawEPS() 1235 aRect.Justify(); in DrawEPS() [all …]
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessiblePageHeader.cxx | 371 Rectangle aRect = pWindow->GetWindowExtentsRelative(NULL); in GetBoundingBoxOnScreen() local 372 aCellRect.setX(aCellRect.getX() + aRect.getX()); in GetBoundingBoxOnScreen() 373 aCellRect.setY(aCellRect.getY() + aRect.getY()); in GetBoundingBoxOnScreen() 381 Rectangle aRect; in GetBoundingBox() local 386 rData.GetHeaderPosition( aRect ); in GetBoundingBox() 388 rData.GetFooterPosition( aRect ); in GetBoundingBox() 391 Rectangle aClipRect(Point(0, 0), aRect.GetSize()); in GetBoundingBox() 395 aRect = aClipRect.GetIntersection(aRect); in GetBoundingBox() 397 if (aRect.IsEmpty()) in GetBoundingBox() 398 aRect.SetSize(Size(-1, -1)); in GetBoundingBox() [all …]
|
/trunk/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 341 aRect.Justify(); in MapRectangle() 342 aRect.nBottom++; in MapRectangle() 343 aRect.nRight++; in MapRectangle() 344 return aRect; in MapRectangle() 350 *pPict << (sal_Int16)aRect.Top() << (sal_Int16)aRect.Left() in WriteRectangle() 351 << (sal_Int16)aRect.Bottom() << (sal_Int16)aRect.Right(); in WriteRectangle() 416 aCenter=Point( ( aRect.Left() + aRect.Right() ) >> 1, in WriteArcAngles() 417 ( aRect.Top() + aRect.Bottom() ) >> 1 ); in WriteArcAngles() 733 aRect.nRight++; in WriteOpcode_ClipRect() 736 << (sal_Int16)aRect.Top() << (sal_Int16)aRect.Left() in WriteOpcode_ClipRect() [all …]
|
/trunk/main/reportdesign/source/ui/misc/ |
H A D | UITools.cxx | 880 … if ( !aRect.IsEmpty() && (aRect.Left() != aRect.Right() && aRect.Top() != aRect.Bottom() ) ) in isOver() 917 Rectangle aRect = _rRect.GetIntersection(pObjIter->GetLastBoundRect()); in isOver() local 918 … if ( !aRect.IsEmpty() && (aRect.Left() != aRect.Right() && aRect.Top() != aRect.Bottom() ) ) in isOver() 931 Rectangle aRect = _pObj->GetCurrentBoundRect(); in isOver() local 932 pOverlappedObj = isOver(aRect,_rPage,_rView,_bUnMarkedObjects,_pObj); in isOver() 977 aRect.setHeight(aRect.getHeight() + 1); in getRectangleFromControl() 978 aRect.setWidth(aRect.getWidth() + 1); in getRectangleFromControl() 979 return aRect; in getRectangleFromControl() 993 Rectangle aRect = getRectangleFromControl(_pControl); in correctOverlapping() local 1003 aRect.Move(0,aLogicRect.Top() + aLogicRect.getHeight() - aRect.Top()); in correctOverlapping() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | group.cxx | 137 Rectangle aRect( rPos, rSize ); in ImplDraw() local 169 aRect.Left() += GROUP_BORDER; in ImplDraw() 170 aRect.Right() -= GROUP_BORDER; in ImplDraw() 171 aRect = pDev->GetTextRect( aRect, aText, nTextStyle ); in ImplDraw() 173 nTop += aRect.GetHeight() / 2; in ImplDraw() 188 pDev->DrawLine( Point( rPos.X(), nTop ), Point( aRect.Left()-nTextOff, nTop ) ); in ImplDraw() 189 … pDev->DrawLine( Point( aRect.Right()+nTextOff, nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 206 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( aRect.Left()-nTextOff, nTop+1 ) ); in ImplDraw() 207 …pDev->DrawLine( Point( aRect.Right()+nTextOff, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 )… in ImplDraw() 217 DrawControlText( *pDev, aRect, aText, nTextStyle, pVector, pDisplayText ); in ImplDraw()
|
/trunk/main/accessibility/source/extended/ |
H A D | AccessibleGridControlBase.cxx | 374 Rectangle aRect = implGetBoundingBox(); in getBoundingBox() local 375 if ( 0 == aRect.Left() && 0 == aRect.Top() && 0 == aRect.Right() && 0 == aRect.Bottom() ) in getBoundingBox() 379 return aRect; in getBoundingBox() 388 Rectangle aRect = implGetBoundingBoxOnScreen(); in getBoundingBoxOnScreen() local 389 if ( 0 == aRect.Left() && 0 == aRect.Top() && 0 == aRect.Right() && 0 == aRect.Bottom() ) in getBoundingBoxOnScreen() 393 return aRect; in getBoundingBoxOnScreen()
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | tbzoomsliderctrl.cxx | 319 Rectangle aRect( Point( 0, 0 ), aSliderWindowSize ); in MouseButtonDown() local 321 Paint( aRect ); in MouseButtonDown() 359 Paint( aRect ); in MouseMove() 426 Rectangle aRect( Point( 0, 0 ), aSliderWindowSize ); in UpdateFromItem() local 429 Paint(aRect); in UpdateFromItem() 447 Rectangle aRect( Point( 0, 0 ), aSliderWindowSize ); in DoPaint() local 452 Rectangle aSlider = aRect; in DoPaint() 484 pVDev->DrawGradient( aRect, g ); in DoPaint() 502 Rectangle aSnapping( aRect ); in DoPaint() 515 Point aImagePoint = aRect.TopLeft(); in DoPaint() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | dockingarea.cxx | 182 Rectangle aRect( aPos, aSize ); in Paint() local 185 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in Paint() 186 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in Paint() 189 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in Paint() 190 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in Paint()
|