/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salnativewidgets.cxx | 387 Rectangle aRect; in hitTestNativeControl() local 1206 if( aRect.size.width != 0 && aRect.size.height != 0 ) in drawNativeControl() 1286 Rectangle aRect; in getNativeControlRegion() local 1290 rNativeBoundingRegion = aRect; in getNativeControlRegion() 1291 rNativeContentRegion = aRect; in getNativeControlRegion() 1326 aRect.Bottom() = aRect.Top() + 9; // values taken from HIG for medium progress in getNativeControlRegion() 1328 aRect.Bottom() = aRect.Top() + 15; // values taken from HIG for large progress in getNativeControlRegion() 1338 … aRect.Bottom() = aRect.Top() + INTRO_PROGRESS_HEIGHT; // values taken from HIG for medium progress in getNativeControlRegion() 1486 aRect.Left() += 1; in getNativeControlRegion() 1487 aRect.Top() += 1; in getNativeControlRegion() [all …]
|
/aoo41x/main/svx/source/dialog/ |
H A D | frmsel.cxx | 424 … aFocusVec.push_back( Point( aRect.Left() - mnFocusOffs, aRect.Top() + nDiagFocusOffsY ) ); in InitBorderGeometry() 425 … aFocusVec.push_back( Point( aRect.Left() - mnFocusOffs, aRect.Top() - mnFocusOffs ) ); in InitBorderGeometry() 426 … aFocusVec.push_back( Point( aRect.Left() + nDiagFocusOffsX, aRect.Top() - mnFocusOffs ) ); in InitBorderGeometry() 427 … aFocusVec.push_back( Point( aRect.Right() + mnFocusOffs, aRect.Bottom() - nDiagFocusOffsY ) ); in InitBorderGeometry() 428 … aFocusVec.push_back( Point( aRect.Right() + mnFocusOffs, aRect.Bottom() + mnFocusOffs ) ); in InitBorderGeometry() 429 … aFocusVec.push_back( Point( aRect.Right() - nDiagFocusOffsX, aRect.Bottom() + mnFocusOffs ) ); in InitBorderGeometry() 487 … maBLTR.AddClickRect( Rectangle( aRect.Left(), aMid.Y() + 1, aMid.X(), aRect.Bottom() ) ); in InitBorderGeometry() 488 … maBLTR.AddClickRect( Rectangle( aMid.X() + 1, aRect.Top(), aRect.Right(), aMid.Y() ) ); in InitBorderGeometry() 490 … Rectangle aMidRect( aRect.TopLeft(), Size( aRect.GetWidth() / 3, aRect.GetHeight() / 3 ) ); in InitBorderGeometry() 1034 Rectangle aRect; in GetClickBoundRect() local [all …]
|
H A D | swframeexample.cxx | 451 CalcBoundRect_Impl(aRect); in DrawInnerFrame_Impl() 469 return aRect; in DrawInnerFrame_Impl() 506 lXPos = aRect.Left() + (aRect.GetWidth() - aFrmSize.Width()) / 2; in Paint() 511 lXPos = aRect.Left() + aRelPos.X(); in Paint() 516 lXPos = aRect.Left(); in Paint() 521 lXPos = aRect.Right() + 2; in Paint() 546 lYPos = aRect.Top() + (aRect.GetHeight() - aFrmSize.Height()) / 2; in Paint() 553 lYPos = aRect.Top() + aRelPos.Y(); in Paint() 578 lYPos = aRect.Top() + (aRect.GetHeight() - aFrmSize.Height()) / 2; in Paint() 592 lYPos = aRect.Top() - aRelPos.Y(); in Paint() [all …]
|
/aoo41x/main/chart2/source/controller/accessibility/ |
H A D | AccessibleBase.cxx | 701 aRect.X = 0; in containsPoint() 702 aRect.Y = 0; in containsPoint() 706 aPoint.X < (aRect.X + aRect.Width) && in containsPoint() 707 aPoint.Y < (aRect.Y + aRect.Height) ); in containsPoint() 718 aRect.X = 0; in getAccessibleAtPoint() 719 aRect.Y = 0; in getAccessibleAtPoint() 722 if( ( aRect.X <= aPoint.X && aPoint.X <= (aRect.X + aRect.Width) ) && in getAccessibleAtPoint() 723 ( aRect.Y <= aPoint.Y && aPoint.Y <= (aRect.Y + aRect.Height))) in getAccessibleAtPoint() 739 if( ( aRect.X <= aPoint.X && aPoint.X <= (aRect.X + aRect.Width) ) && in getAccessibleAtPoint() 740 ( aRect.Y <= aPoint.Y && aPoint.Y <= (aRect.Y + aRect.Height))) in getAccessibleAtPoint() [all …]
|
/aoo41x/main/vcl/source/window/ |
H A D | status.cxx | 354 Rectangle aRect; in ImplGetItemRectPos() local 370 return aRect; in ImplGetItemRectPos() 435 if ( aRect.IsEmpty() ) in ImplDrawItem() 441 Rectangle aTextRect( aRect.Left()+nW, aRect.Top()+nW, in ImplDrawItem() 442 aRect.Right()-nW, aRect.Bottom()-nW ); in ImplDrawItem() 1257 Rectangle aRect; in GetItemRect() local 1269 aRect.Left() += nW; in GetItemRect() 1270 aRect.Right() -= nW; in GetItemRect() 1271 return aRect; in GetItemRect() 1275 return aRect; in GetItemRect() [all …]
|
H A D | splitwin.cxx | 894 aRect.Bottom() = aRect.Top() + pItems[i].mnOldSplitSize; in ImplCalcSet2() 910 aRect.Bottom() = aRect.Top() + pItems[i].mnSplitSize; in ImplCalcSet2() 917 aRect.Right() = aRect.Left() + pItems[i].mnSplitSize; in ImplCalcSet2() 1728 aRect.Right() = aRect.Left()+pItem->mnWidth; in ImplUpdateSet() 1729 aRect.Bottom() = aRect.Top()+pItem->mnHeight; in ImplUpdateSet() 1847 rRect = aRect; in ImplGetAutoHideRect() 1859 rRect = aRect; in ImplGetFadeInRect() 1871 rRect = aRect; in ImplGetFadeOutRect() 3915 return aRect; in GetAutoHideRect() 3924 return aRect; in GetFadeInRect() [all …]
|
/aoo41x/main/embedserv/source/embed/ |
H A D | docholder.cxx | 1176 aRect[0] = pRect->left; 1177 aRect[1] = pRect->top; 1202 if ( ( aArgs[nInd].Value >>= aRect ) && aRect.getLength() == 4 ) 1229 if ( ( aArgs[nInd].Value >>= aRect ) && aRect.getLength() == 4 ) in GetDocumentBorder() 1331 aRect->right - aRect->left, in SetContRects() 1332 aRect->bottom - aRect->top, in SetContRects() 1360 aRect->right - aRect->left, in SetObjectRects() 1361 aRect->bottom - aRect->top, in SetObjectRects() 1469 RECT aRect; in setDockingAreaSpace() local 1474 HRGN hrgn2 = CreateRectRgn(aRect.right-BorderSpace.Width,0,aRect.right,aRect.bottom); in setDockingAreaSpace() [all …]
|
/aoo41x/main/framework/source/layoutmanager/ |
H A D | helpers.cxx | 254 aRect.X = rRect.Left(); in putRectangleValueToAWT() 255 aRect.Y = rRect.Top(); in putRectangleValueToAWT() 259 return aRect; in putRectangleValueToAWT() 264 ::Rectangle aRect; in putAWTToRectangle() 265 aRect.Left() = rRect.X; in putAWTToRectangle() 266 aRect.Top() = rRect.Y; in putAWTToRectangle() 270 return aRect; in putAWTToRectangle() 277 aRect.Y = rRect.Top(); in convertRectangleToAWT() 280 return aRect; in convertRectangleToAWT() 285 ::Rectangle aRect; in convertAWTToRectangle() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | ruler.cxx | 413 Rectangle aRect; in ImplInvertLines() local 1543 DrawRect( aRect ); in ImplDrawExtra() 1553 DrawLine( Point( aRect.Left()+1, aRect.Top()+4 ), in ImplDrawExtra() 1554 Point( aRect.Right()-1, aRect.Top()+4 ) ); in ImplDrawExtra() 1555 DrawLine( Point( aRect.Left()+4, aRect.Top()+1 ), in ImplDrawExtra() 1556 Point( aRect.Left()+4, aRect.Bottom()-1 ) ); in ImplDrawExtra() 1582 Invert( aRect ); in ImplDrawExtra() 1674 Rectangle aRect; in ImplHitTest() local 1678 aRect.Top() = aRect.Bottom()-RULER_TAB_HEIGHT-RULER_OFF; in ImplHitTest() 2459 aRect.Right() = aRect.Left()+RULER_RESIZE_OFF; in Resize() [all …]
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdmrkv.cxx | 385 aRect.Justify(); in EndMarkObj() 450 aRect.Justify(); in EndMarkPoints() 779 sal_Bool bWdt0=aRect.Left()==aRect.Right(); in SetMarkHandles() 780 sal_Bool bHgt0=aRect.Top()==aRect.Bottom(); in SetMarkHandles() 1941 if (aPt.X()<aRect.Left()) nDist+=aRect.Left()-aPt.X(); in PickMarkedObj() 1942 if (aPt.X()>aRect.Right()) nDist+=aPt.X()-aRect.Right(); in PickMarkedObj() 1943 if (aPt.Y()<aRect.Top()) nDist+=aRect.Top()-aPt.Y(); in PickMarkedObj() 1944 if (aPt.Y()>aRect.Bottom()) nDist+=aPt.Y()-aRect.Bottom(); in PickMarkedObj() 2056 if (aRect.IsEmpty()) aRect=aR1; in GetMarkedObjBoundRect() 2059 return aRect; in GetMarkedObjBoundRect() [all …]
|
H A D | svdfmtf.cxx | 1101 aRect.Right()++; aRect.Bottom()++; in DoAction() 1113 aRect.Right()++; aRect.Bottom()++; in DoAction() 1125 aRect.Right()++; aRect.Bottom()++; in DoAction() 1137 aRect.Right()++; aRect.Bottom()++; in DoAction() 1317 aRect.Right()++; in DoAction() 1318 aRect.Bottom()++; in DoAction() 1349 aRect.Right()++; aRect.Bottom()++; in DoAction() 1363 aRect.Right()++; aRect.Bottom()++; in DoAction() 1377 aRect.Right()++; aRect.Bottom()++; in DoAction() 1537 aRect.Left(), aRect.Top(), in DoAction() [all …]
|
H A D | svdedtv1.cxx | 762 if (bAllPosX) aRect.Move(nAllPosX-aRect.Left(),0); in SetNotPersistAttrToMarked() 763 if (bAllPosY) aRect.Move(0,nAllPosY-aRect.Top()); in SetNotPersistAttrToMarked() 766 SetMarkedObjRect(aRect); in SetNotPersistAttrToMarked() 1319 long nResizeRefY=aRect.Top(); in GetGeoAttrFromMarked() 1324 aRetSet.Put(SfxUInt32Item(SID_ATTR_TRANSFORM_WIDTH,aRect.Right()-aRect.Left())); in GetGeoAttrFromMarked() 1325 aRetSet.Put(SfxUInt32Item(SID_ATTR_TRANSFORM_HEIGHT,aRect.Bottom()-aRect.Top())); in GetGeoAttrFromMarked() 1348 long nShearRefX=aRect.Left(); in GetGeoAttrFromMarked() 1415 aRect.Left(), aRect.Top(), in GetGeoAttrFromMarked() 1416 aRect.getWidth(), aRect.getHeight()); in GetGeoAttrFromMarked() 1626 Fraction aWdt(nSizX,aRect.Right()-aRect.Left()); in SetGeoAttrToMarked() [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 1456 SwRect aRect; in lcl_SubtractFlys() local 1460 rRegion -= aRect; in lcl_SubtractFlys() 1466 rRegion -= aRect; in lcl_SubtractFlys() 2831 SwRect aRect( rRect ); in Paint() local 4754 SwRect aRect( Prt() ); in PaintBorder() local 4755 aRect += Frm().Pos(); in PaintBorder() 4867 SwRect aRect( Prt() ); in PaintBorder() local 4969 SwRect aRect( rRect ); in PaintColLines() local 5904 SwRect aRect( rRect ); in RefreshSubsidiary() local 6311 SwRect aRect( rRect ); in RefreshExtraData() local [all …]
|
/aoo41x/main/sw/source/core/view/ |
H A D | viewsh.cxx | 314 pOld->DrawOutDev( aRect.Pos(), aRect.SSize(), in ImplEndAction() 315 aRect.Pos(), aRect.SSize(), *pVout ); in ImplEndAction() 1374 aRect.Pos().X() = Max(aRect.Left(),pRect->Left()-aPixSz.Width()); in SmoothScroll() 1381 aRect.Pos().X() = Max( 0L, aRect.Left()-aPixSz.Width() ); in SmoothScroll() 1382 aRect.Pos() = GetWin()->PixelToLogic( GetWin()->LogicToPixel( aRect.Pos())); in SmoothScroll() 1383 aRect.SSize()= GetWin()->PixelToLogic( GetWin()->LogicToPixel( aRect.SSize())); in SmoothScroll() 1384 aVisArea = aRect; in SmoothScroll() 1385 const Point aPt( -aRect.Left(), -aRect.Top() ); in SmoothScroll() 1413 PaintDesktop( aRect ); in SmoothScroll() 1913 SwRect aRect( rRect ); in Paint() local [all …]
|
/aoo41x/main/vcl/win/source/window/ |
H A D | salframe.cxx | 913 … aCombined.Union( Rectangle( aRect.X, aRect.Y, aRect.X+aRect.Width, aRect.Y+aRect.Height ) ); in ImplSalCalcFullScreenSize() 1539 nScreenWidth = aRect.right-aRect.left; in SetPosSize() 1540 nScreenHeight = aRect.bottom-aRect.top; in SetPosSize() 1588 nX = ((aRect.right-aRect.left)-nWidth)/2 + aRect.left; in SetPosSize() 1589 nY = ((aRect.bottom-aRect.top)-nHeight)/2 + aRect.top; in SetPosSize() 1859 nScreenWidth = aRect.right-aRect.left+20; in SetWindowState() 3143 int nDX = aRect.right-aRect.left; in SnapShot() 3144 int nDY = aRect.bottom-aRect.top; in SnapShot() 4249 int nWidth = aRect.right - aRect.left in UpdateFrameGeometry() 4251 int nHeight = aRect.bottom - aRect.top in UpdateFrameGeometry() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | output3.cxx | 53 Rectangle aRect; in PrePrintDrawingLayer() local 71 aRect.Left() = aRect.Right() = -aOffset.X(); in PrePrintDrawingLayer() 72 aRect.Top() = aRect.Bottom() = -aOffset.Y(); in PrePrintDrawingLayer() 82 aRect.Right() += pDoc->GetColWidth( nCol, nTab ); in PrePrintDrawingLayer() 83 aRect.Bottom() += pDoc->GetRowHeight( nY1, nY2, nTab ); in PrePrintDrawingLayer() 85 aRect.Left() = (long) (aRect.Left() * HMM_PER_TWIPS); in PrePrintDrawingLayer() 86 aRect.Top() = (long) (aRect.Top() * HMM_PER_TWIPS); in PrePrintDrawingLayer() 87 aRect.Right() = (long) (aRect.Right() * HMM_PER_TWIPS); in PrePrintDrawingLayer() 88 aRect.Bottom() = (long) (aRect.Bottom() * HMM_PER_TWIPS); in PrePrintDrawingLayer() 104 Region aRectRegion(aRect); in PrePrintDrawingLayer()
|
/aoo41x/main/chart2/source/controller/main/ |
H A D | DrawCommandDispatch.cxx | 486 sal_Int32 nYMiddle( ( aRect.Top() + aRect.Bottom() ) / 2 ); in createDefaultObject() 502 … aInnerPoly.append( basegfx::B2DPoint( aRect.Left(), aRect.Bottom() ) ); in createDefaultObject() 504 basegfx::B2DPoint( aRect.Left(), aRect.Top() ), in createDefaultObject() 505 basegfx::B2DPoint( aRect.Center().X(), aRect.Top() ), in createDefaultObject() 506 basegfx::B2DPoint( aRect.Center().X(), aRect.Center().Y() ) ); in createDefaultObject() 508 basegfx::B2DPoint( aRect.Center().X(), aRect.Bottom() ), in createDefaultObject() 509 basegfx::B2DPoint( aRect.Right(), aRect.Bottom() ), in createDefaultObject() 510 basegfx::B2DPoint( aRect.Right(), aRect.Top() ) ); in createDefaultObject() 562 pCaptionObj->SetLogicRect( aRect ); in createDefaultObject() 564 … aRect.TopLeft() - Point( aRect.GetWidth() / 2, aRect.GetHeight() / 2 ) ); in createDefaultObject() [all …]
|
/aoo41x/main/xmloff/source/style/ |
H A D | XMLRectangleMembersHandler.cxx | 58 rValue >>= aRect; in importXML() 67 aRect.X = nValue; in importXML() 70 aRect.Y = nValue; in importXML() 73 aRect.Width = nValue; in importXML() 76 aRect.Height = nValue; in importXML() 80 rValue <<= aRect; in importXML() 93 rValue >>= aRect; in exportXML() 100 nValue = aRect.X; in exportXML() 103 nValue = aRect.Y; in exportXML() 106 nValue = aRect.Width; in exportXML() [all …]
|
/aoo41x/main/sw/source/ui/utlui/ |
H A D | viewlayoutctrl.cxx | 124 Rectangle aRect = rUsrEvt.GetRect(); in Paint() local 135 const long nXOffset = (aRect.GetWidth() - nImageWidthSum)/2; in Paint() 136 const long nYOffset = (aRect.GetHeight() - nImageHeight)/2; in Paint() 138 aRect.Left() = aRect.Left() + nXOffset; in Paint() 139 aRect.Top() = aRect.Top() + nYOffset; in Paint() 145 aRect.Left() += nImageWidthSingle; in Paint() 149 aRect.Left() += nImageWidthAuto; in Paint() 150 …pDev->DrawImage( aRect.TopLeft(), bBookMode ? mpImpl->maImageBookMode_Active : mpImpl->maI… in Paint() 166 const Rectangle aRect = getControlRect(); in MouseButtonDown() local 168 const long nXDiff = aPoint.X() - aRect.Left(); in MouseButtonDown() [all …]
|
/aoo41x/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeEngine.cxx | 303 Rectangle aRect( pSdrObjCustomShape->GetSnapRect() ); in REF() local 324 Point aLeft( aRect.Left(), ( aRect.Top() + aRect.Bottom() ) >> 1 ); in REF() 330 Point aTop( ( aRect.Left() + aRect.Right() ) >> 1, aRect.Top() ); in REF() 363 Rectangle aRect( aCustomShape2d.GetTextRect() ); in getTextBounds() local 364 aTextRect.X = aRect.Left(); in getTextBounds() 365 aTextRect.Y = aRect.Top(); in getTextBounds() 366 aTextRect.Width = aRect.GetWidth(); in getTextBounds() 367 aTextRect.Height = aRect.GetHeight(); in getTextBounds() 384 Rectangle aRect( pSdrObjCustomShape->GetSnapRect() ); in getLineGeometry() local 408 Point aTop( ( aRect.Left() + aRect.Right() ) >> 1, aRect.Top() ); in getLineGeometry() [all …]
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fucopy.cxx | 142 Rectangle aRect; in DoExecute() local 204 aRect = mpView->GetAllMarkedRect(); in DoExecute() 208 long nTmp = ( aRect.Right() - aRect.Left() ) / -lWidth; in DoExecute() 214 long nTmp = ( aRect.Bottom() - aRect.Top() ) / -lHeight; in DoExecute() 223 aRect = mpView->GetAllMarkedRect(); in DoExecute() 252 Fraction aWidth( aRect.Right() - aRect.Left() + lWidth, aRect.Right() - aRect.Left() ); in DoExecute() 253 Fraction aHeight( aRect.Bottom() - aRect.Top() + lHeight, aRect.Bottom() - aRect.Top() ); in DoExecute() 256 mpView->ResizeAllMarked( aRect.TopLeft(), aWidth, aHeight ); in DoExecute() 259 mpView->RotateAllMarked( aRect.Center(), lAngle * 100 ); in DoExecute()
|
/aoo41x/main/wizards/com/sun/star/wizards/reportbuilder/layout/ |
H A D | ColumnarTwoColumns.java | 81 Rectangle aRect = new Rectangle(); in insertDetailFields() local 105 aRect.Y = 0; in insertDetailFields() 108 …aRect.X = getLeftPageIndent() + getLeftGroupIndent(getCountOfGroups()) + x * (nWidth + nLabelWidth… in insertDetailFields() 112 aRect = insertLabel(xSection, sLabel, aRect, nLabelWidth, aSOLabel); in insertDetailFields() 114 aRect = insertFormattedField(xSection, sFieldName, aRect, nWidth, aSOTextField); in insertDetailFields() 116 … aRect.Y += Math.max(aSOLabel.getHeight(LayoutConstants.LabelHeight), aRect.Height); in insertDetailFields() 120 nMaxHeight = Math.max(aRect.Y, nMaxHeight); in insertDetailFields() 122 aRect.Y = Math.max(aSOLabel.getHeight(LayoutConstants.LabelHeight) * nRows, nMaxHeight); in insertDetailFields() 123 aRect.Y += aSOLabel.getHeight(LayoutConstants.EmptyLineHeight); // one empty line in insertDetailFields() 124 xSection.setHeight(aRect.Y); in insertDetailFields()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | gdimtf.cxx | 1027 Polygon aPoly( aRect ); in Rotate() 1554 Rectangle aRect( aP1, aP2 ); in GetBoundRect() local 1555 aRect.Justify(); in GetBoundRect() 1657 Rectangle aRect; in GetBoundRect() local 1661 aRect.Move( aPt.X(), aPt.Y() ); in GetBoundRect() 1669 Rectangle aRect; in GetBoundRect() local 1682 Rectangle aRect; in GetBoundRect() local 1699 Rectangle aRect; in GetBoundRect() local 1703 aRect.Right() = aRect.Left() + pAct->GetWidth(); in GetBoundRect() 1811 aClipStack.back() = aRect; in GetBoundRect() [all …]
|
/aoo41x/main/sd/source/filter/eppt/ |
H A D | escherex.cxx | 251 Rectangle aRect; in EnterGroup() local 253 aRect = *pBoundRect; in EnterGroup() 259 …*mpOutStrm << (sal_Int32)aRect.Left() // Bounding box fuer die Gruppierten shapes an die sie attac… in EnterGroup() 260 << (sal_Int32)aRect.Top() in EnterGroup() 261 << (sal_Int32)aRect.Right() in EnterGroup() 262 << (sal_Int32)aRect.Bottom(); in EnterGroup() 274 …*mpOutStrm << (sal_Int16)aRect.Top() << (sal_Int16)aRect.Left() << (sal_Int16)aRect.Right() << (sa… in EnterGroup() 280 *mpOutStrm << (sal_Int32)aRect.Left() in EnterGroup() 281 << (sal_Int32)aRect.Top() in EnterGroup() 282 << (sal_Int32)aRect.Right() in EnterGroup() [all …]
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | salnativewidgets-luna.cxx | 363 rc.left = aRect.nLeft; in ImplGetThemeRect() 364 rc.right = aRect.nRight; in ImplGetThemeRect() 365 rc.top = aRect.nTop; in ImplGetThemeRect() 366 rc.bottom = aRect.nBottom; in ImplGetThemeRect() 1037 rc.bottom = rc.top+aRect.GetHeight()-1; in ImplDrawNativeControl() 1256 rNativeContentRegion = aRect; in getNativeControlRegion() 1270 rNativeContentRegion = aRect; in getNativeControlRegion() 1290 if( !aRect.IsEmpty() ) in getNativeControlRegion() 1315 aRect.Bottom() += aRect.GetHeight(); in getNativeControlRegion() 1364 aRect.Right() = aRect.Left() + nW - 1; in getNativeControlRegion() [all …]
|