/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 728 aRect.Right() = aRect.Left()+nTextWidth+2; in ImplShowFocus() 729 aRect.Bottom() = aRect.Top()+nTextHeight+2; in ImplShowFocus() 741 aRect.Right() = aRect.Left() + aImageSize.Width() + 4; in ImplShowFocus() 891 Point( aRect.Right()-3, aRect.Top()-nOff2 ) ); in ImplDrawItem() 1142 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in ImplPaint() 1146 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplPaint() 1157 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint() 1159 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint() 1165 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint() 1167 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint() [all …]
|
H A D | slider.cxx | 412 DrawLine( aRect.TopLeft(), Point( aRect.Left(), aRect.Bottom()-1 ) ); in ImplDraw() 413 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in ImplDraw() 417 DrawLine( aRect.TopLeft(), Point( aRect.Right()-1, aRect.Top() ) ); in ImplDraw() 418 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplDraw() 423 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in ImplDraw() 428 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplDraw() 456 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplDraw() 457 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in ImplDraw() 463 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplDraw() 471 DrawLine( aRect.TopLeft(), Point( aRect.Right()-1, aRect.Top() ) ); in ImplDraw() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | headbar.cxx | 214 return aRect; in ImplGetItemRect() 383 pDev->DrawLine( Point( aRect.Right(), aRect.Top() ), in ImplDrawItem() 384 Point( aRect.Right(), aRect.Bottom() ) ); in ImplDrawItem() 455 nTxtPos = aRect.Left()+(aRect.GetWidth()-nTempWidth)/2; in ImplDrawItem() 684 aRect.Left() = aRect.Right(); in ImplUpdate() 686 if ( aRect.Left() < aRect.Right() ) in ImplUpdate() 1039 pDev->DrawLine( aRect.TopLeft(), Point( aRect.Right(), aRect.Top() ) ); in Draw() 1041 pDev->DrawLine( Point( aRect.Left(), aRect.Bottom() ), Point( aRect.Right(), aRect.Bottom() ) ); in Draw() 1045 pDev->DrawLine( aRect.TopLeft(), Point( aRect.Left(), aRect.Bottom() ) ); in Draw() 1046 …pDev->DrawLine( Point( aRect.Right(), aRect.Top() ), Point( aRect.Right(), aRect.Bottom() ) ); … in Draw() [all …]
|
H A D | valueset.cxx | 225 aRect.Left()++; in ImplFormatItem() 226 aRect.Top()++; in ImplFormatItem() 227 aRect.Right()--; in ImplFormatItem() 241 aRect.Top()++; in ImplFormatItem() 249 aRect = aView.DrawFrame( aRect, mnFrameStyle ); in ImplFormatItem() 256 if ( (aRect.GetHeight() > 0) && (aRect.GetWidth() > 0) ) in ImplFormatItem() 267 Point aTxtPos( aRect.Left()+2, aRect.Top() ); in ImplFormatItem() 309 Point aPos( aRect.Left(), aRect.Top() ); in ImplFormatItem() 831 aRect.Top()++; in ImplDrawSelect() 870 aRect.Top()++; in ImplDrawSelect() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 174 Rectangle aRect = rRect; in ImplDrawLinearGradient() local 198 aMirrorRect.Top() = ( aRect.Top() + aRect.Bottom() ) / 2; in ImplDrawLinearGradient() 470 Point aCenter( aRect.Left() + nZWidth, aRect.Top() + nZHeight ); in ImplDrawComplexGradient() 481 long nMinRect = Min( aRect.GetWidth(), aRect.GetHeight() ); in ImplDrawComplexGradient() 560 if( ( aRect.GetWidth() < 2 ) || ( aRect.GetHeight() < 2 ) ) in ImplDrawComplexGradient() 564 aPoly = Polygon( aRect.Center(), aRect.GetWidth() >> 1, aRect.GetHeight() >> 1 ); in ImplDrawComplexGradient() 720 aRect.Justify(); in DrawGradient() 732 aRect.Top()--; in DrawGradient() 898 aRect.Justify(); in DrawGradient() 1011 aRect.Justify(); in AddGradientActions() [all …]
|
H A D | outdev5.cxx | 61 if ( aRect.IsEmpty() ) in DBG_NAMEEX() 85 mpGraphics->DrawRect( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), this ); in DBG_NAMEEX() 118 Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DrawEllipse() local 119 if ( aRect.IsEmpty() ) in DrawEllipse() 137 Polygon aRectPoly( aRect.Center(), aRect.GetWidth() >> 1, aRect.GetHeight() >> 1 ); in DrawEllipse() 169 Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DrawArc() local 170 if ( aRect.IsEmpty() ) in DrawArc() 216 Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DrawPie() local 217 if ( aRect.IsEmpty() ) in DrawPie() 270 Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DrawChord() local [all …]
|
/trunk/main/embeddedobj/test/Container1/ |
H A D | PaintThread.java | 94 m_aRect = aRect; in setPaintRequest() 124 aRect = m_aRect; in run() 145 aRect.X, aRect.Y, aRect.Width, aRect.Height ); in run() 150 xGraphics.drawLine( aRect.X - 1, aRect.Y - 1, in run() 151 aRect.X + aRect.Width + 1, aRect.Y - 1 ); in run() 152 xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1, in run() 153 aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 ); in run() 154 xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1, in run() 155 aRect.X - 1, aRect.Y + aRect.Height + 1 ); in run() 156 xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1, in run() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotxtr.cxx | 78 aRect=rRect; in NbcSetSnapRect() 101 return aRect; in GetLogicRect() 112 aRect=rRect; in NbcSetLogicRect() 176 aRect.Justify(); in NbcResize() 177 aRect.Move(aRect.Right()-aRect.Left(),aRect.Bottom()-aRect.Top()); in NbcResize() 258 long dx=aRect.Right()-aRect.Left(); in NbcRotate() 259 long dy=aRect.Bottom()-aRect.Top(); in NbcRotate() 262 aRect.Left()=aP.X(); in NbcRotate() 263 aRect.Top()=aP.Y(); in NbcRotate() 264 aRect.Right()=aRect.Left()+dx; in NbcRotate() [all …]
|
H A D | svdorect.cxx | 218 rRect=aRect; in TakeUnrotatedSnapRect() 220 long nDst=Round((aRect.Bottom()-aRect.Top())*aGeo.nTan); in TakeUnrotatedSnapRect() 248 if (aRect.GetWidth()==aRect.GetHeight()) nResId+=2; // Quadrat in TakeObjNameSingul() 272 if (aRect.GetWidth()==aRect.GetHeight()) nResId+=2; // Quadrat in TakeObjNamePlural() 287 aXPP.Insert(ImpCalcXPoly(aRect,GetEckenradius())); in TakeXorPoly() 334 pH = new ImpTextframeHdl(aRect); in GetHdl() 342 …long b = Max(aRect.GetWidth(),aRect.GetHeight())/2; // Wird aufgerundet, da GetWidth() eins draufa… in GetHdl() 345 aPnt=aRect.TopLeft(); in GetHdl() 413 sal_Int32 nRad(aPt.X() - aRect.Left()); in applySpecialDrag() 451 sal_Int32 nRad(aPt.X() - aRect.Left()); in getSpecialDragComment() [all …]
|
H A D | svdocirc.cxx | 295 if (aRect.GetWidth()==aRect.GetHeight() && aGeo.nShearWink==0) { in TakeObjNameSingul() 327 if (aRect.GetWidth()==aRect.GetHeight() && aGeo.nShearWink==0) { in TakeObjNamePlural() 519 long nWdt=aRect.Right()-aRect.Left(); in applySpecialDrag() 520 long nHgt=aRect.Bottom()-aRect.Top(); in applySpecialDrag() 695 aRect = aRect1; in BegCreate() 706 ImpJustifyRect(aRect); in MovCreate() 732 aRect=pU->aR; in EndCreate() 740 aRect=pU->aR; in EndCreate() 812 MoveRect(aRect,aSiz); in NbcMove() 973 rRect=aRect; in TakeUnrotatedSnapRect() [all …]
|
H A D | svdotxdr.cxx | 93 Rectangle aTmpRect(aRect); in ImpDragCalcRect() 114 long nWdt0=aRect.Right() -aRect.Left(); in ImpDragCalcRect() 115 long nHgt0=aRect.Bottom()-aRect.Top(); in ImpDragCalcRect() 147 long nHgt0b=aRect.Bottom()-aRect.Top(); in ImpDragCalcRect() 153 long nWdt0b=aRect.Right()-aRect.Left(); in ImpDragCalcRect() 177 ShearPoint(aNewPos,aRect.TopLeft(),aGeo.nTan); in applySpecialDrag() 185 if(aNewRect != aRect) in applySpecialDrag() 209 aRect = aRect1; in BegCreate() 219 aRect=aRect1; // fuer ObjName in MovCreate() 230 rStat.TakeCreateRect(aRect); in EndCreate() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 439 aRect.Left() = aRect.Right()-nMaxWidth+1; in GetTextRect() 443 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect() 446 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect() 1552 aRect.Bottom() -= aRect.Top(); in KeyInput() 1616 aRect.Right() -= aRect.Left(); in KeyInput() 2787 aRect.Left()++; aRect.Top()++; in ShowTargetEmphasis() 2788 aRect.Right()--; aRect.Bottom()--; in ShowTargetEmphasis() 3676 if( aRect.Top() > aRect.Bottom()) in CalcMaxTextRect() 3677 aRect.Top() = aRect.Bottom(); in CalcMaxTextRect() 3682 if( aRect.Left() > aRect.Right()) in CalcMaxTextRect() [all …]
|
H A D | imivctl1.cxx | 1249 if( aRect.Top()) in KeyInput() 1251 aRect.Bottom() -= aRect.Top(); in KeyInput() 1252 aRect.Top() = 0; in KeyInput() 1306 aRect.Right() -= aRect.Left(); in KeyInput() 2145 aRect.Top() -= 3; in GetEntry() 2147 aRect.Left() -= 3; in GetEntry() 2232 return pEntry->aRect; in GetEntryBoundRect() 3112 pEntry->aRect.Bottom() = pEntry->aRect.Top() + aSize.Height(); in Center() 3196 aRect.Justify(); in SelectRect() 3725 aRect.TopLeft(), in EditEntry() [all …]
|
/trunk/main/sw/source/core/view/ |
H A D | vdraw.cxx | 254 SwRect aRect; in IsDragPossible() local 259 aRect.Union( aTmp ); in IsDragPossible() 264 aRect.Top( aRect.Top() - WIEDUWILLST ); in IsDragPossible() 265 aRect.Bottom( aRect.Bottom() + WIEDUWILLST ); in IsDragPossible() 266 aRect.Left( aRect.Left() - WIEDUWILLST ); in IsDragPossible() 267 aRect.Right( aRect.Right() + WIEDUWILLST ); in IsDragPossible() 268 return aRect.IsInside( rPoint ); in IsDragPossible() 290 if ( aRect != rOldWork ) in NotifySizeChg() 292 if ( rOldWork.Bottom() > aRect.Bottom() || rOldWork.Right() > aRect.Right()) in NotifySizeChg() 294 GetDrawView()->SetWorkArea( aRect ); in NotifySizeChg() [all …]
|
/trunk/main/sw/source/core/frmedt/ |
H A D | feshview.cxx | 788 SwRect aRect; in lcl_NotifyNeighbours() local 2864 if(aRect.GetWidth() > aRect.GetHeight()) in CreateDefaultShape() 2867 Point(aRect.Left() + ((aRect.GetWidth() - aRect.GetHeight()) / 2), aRect.Top()), in CreateDefaultShape() 2873 Point(aRect.Left(), aRect.Top() + ((aRect.GetHeight() - aRect.GetWidth()) / 2)), in CreateDefaultShape() 2908 basegfx::B2DPoint(aRect.Right(), aRect.Top())); in CreateDefaultShape() 2921 basegfx::B2DPoint(aRect.Left(), aRect.Top()), in CreateDefaultShape() 2922 basegfx::B2DPoint(aRect.Center().X(), aRect.Top()), in CreateDefaultShape() 2926 basegfx::B2DPoint(aRect.Center().X(), aRect.Bottom()), in CreateDefaultShape() 2927 basegfx::B2DPoint(aRect.Right(), aRect.Bottom()), in CreateDefaultShape() 2928 basegfx::B2DPoint(aRect.Right(), aRect.Top())); in CreateDefaultShape() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | tbcontrl.cxx | 1342 aRect.Top() = 6; in MakeLineBitmap() 1348 aRect.Top() = 5; in MakeLineBitmap() 1355 aRect.Top() = 5; in MakeLineBitmap() 1362 aRect.Top() = 4; in MakeLineBitmap() 1370 aRect.Top() = 4; in MakeLineBitmap() 1377 aRect.Top() = 5; in MakeLineBitmap() 1380 aRect.Top() = 7; in MakeLineBitmap() 1387 aRect.Top() = 4; in MakeLineBitmap() 1390 aRect.Top() = 7; in MakeLineBitmap() 1397 aRect.Top() = 4; in MakeLineBitmap() [all …]
|
/trunk/main/svtools/source/hatchwindow/ |
H A D | ipwin.cxx | 201 aRect.SetSize( pWin->PixelToLogic( aRect.GetSize() ) ); in SelectMove() 202 aRect.SetPos( pWin->PixelToLogic( aRect.TopLeft() ) ); in SelectMove() 203 pWin->ShowTracking( aRect ); in SelectMove() 213 Rectangle aRect( rRect ); in GetTrackPosPixel() local 214 aRect.Justify(); in GetTrackPosPixel() 228 aPos = aRect.TopRight() - aTR; in GetTrackPosPixel() 240 aPos = aRect.BottomLeft() - aBL; in GetTrackPosPixel() 541 aRect.SetPos( aRect.TopLeft() + aDiff ); in MouseMove() 542 m_aResizer.ValidateRect( aRect ); in MouseMove() 545 aRect.SetPos( aRect.TopLeft() - aDiff ); in MouseMove() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | pagectrl.cxx | 207 Rectangle aRect; in DrawPage() local 209 aRect.Left() = rOrg.X() + nL; in DrawPage() 211 aRect.Top() = rOrg.Y() + nTop; in DrawPage() 214 Rectangle aHdRect(aRect); in DrawPage() 215 Rectangle aFtRect(aRect); in DrawPage() 224 drawFillAttributes(maPageFillAttributes, aRect, aRect); in DrawPage() 252 drawFillAttributes(drawinglayer::attribute::SdrAllFillAttributesHelperPtr(), aRect, aRect); in DrawPage() 257 drawFillAttributes(maPageFillAttributes, aRect, aRect); in DrawPage() 331 long nW = aRect.GetWidth(),nH = aRect.GetHeight(); in DrawPage() 333 long _nLeft = bHorz ? aRect.Left() + ((nW - nTW) / 2) : aRect.Left(); in DrawPage() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | dockmgr.cxx | 503 return aRect; in GetPosSizePixel() 623 Rectangle aRect; in GetDragRect() local 631 aRect.Bottom() = aRect.Top() + 1 + POPUP_DRAGHEIGHT; in GetDragRect() 634 return aRect; in GetDragRect() 713 aRect.nLeft+=2; aRect.nRight-=2; in DrawGrip() 716 aRect.nBottom = aRect.nTop; in DrawGrip() 718 DrawLine( aRect.TopLeft(), aRect.TopRight(), aLineInfo ); in DrawGrip() 722 aRect.nTop++; aRect.nBottom++; in DrawGrip() 731 aRect.nBottom = aRect.nTop; in DrawGrip() 739 aRect.nLeft = (aRect.nLeft + aRect.nRight - width) / 2; in DrawGrip() [all …]
|
H A D | decoview.cxx | 423 pDev->DrawRect( aRect ); in ImplDrawSymbol() 513 pDev->DrawRect( aRect ); in ImplDrawSymbol() 527 aTempRect = aRect; in ImplDrawSymbol() 968 Rectangle aRect = rRect; in DrawFrame() local 972 aRect = mpOutDev->LogicToPixel( aRect ); in DrawFrame() 993 aRect = mpOutDev->PixelToLogic( aRect ); in DrawFrame() 996 return aRect; in DrawFrame() 1217 Rectangle aRect = rRect; in DrawButton() local 1221 aRect = mpOutDev->LogicToPixel( aRect ); in DrawButton() 1247 aRect = mpOutDev->PixelToLogic( aRect ); in DrawButton() [all …]
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 238 Rectangle aRect; in DrawPage() local 240 aRect.Left() = rOrg.X() + nL; in DrawPage() 245 DrawRect(aRect); in DrawPage() 282 aRect.Right() = aRect.Left() + nAutoColWidth; in DrawPage() 288 aRect.Left() = aRect.Right() + pColMgr->GetGutterWidth(i); in DrawPage() 391 DrawRect(aRect); in Paint() 425 DrawRect(aRect); in Paint() 536 Rectangle aRect; in DrawPage() local 538 aRect.Left() = rOrg.X() + nL; in DrawPage() 561 sal_Int32 nLines = (m_bVertical ? aRect.GetWidth(): aRect.GetHeight()) / nLineHeight; in DrawPage() [all …]
|
/trunk/main/vcl/workben/ |
H A D | outdevgrind.cxx | 114 const Rectangle aRect(aPt1,aPt2); in setupMethodStubs() local 116 const Polygon aPoly(aRect); in setupMethodStubs() 153 aMtf.AddAction( new MetaRectAction(aRect) ); in setupMethodStubs() 252 aRect )); in setupMethodStubs() 272 aRect )); in setupMethodStubs() 282 aRect,aPt1,aPt2 )); in setupMethodStubs() 315 aRect.TopLeft(), aRect.GetSize())); in setupMethodStubs() 330 aRect.TopLeft(), aRect.GetSize(), in setupMethodStubs() 346 aRect.TopLeft(), aRect.GetSize(), in setupMethodStubs() 408 aPt1,aRect.GetSize(),aBitmap )); in setupMethodStubs() [all …]
|
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/ |
H A D | ReportBuilderLayouter.java | 434 …aRect = insertLabel(xGroupSection, getTitleFromFieldName(m_aGroupNames[i]), aRect, nLabelWidth, aS… in insertGroups() 437 … aRect = insertFormattedField(xGroupSection, sGroupName, aRect, nFieldWidth, aSO); in insertGroups() 442 aRect.Y = aRect.Height; in insertGroups() 1348 aRect = insertLabel(xSection, sTitleTitle, aRect, nWidth, aSOLabel); in insertPageHeader() 1352 aRect = insertLabel(xSection, sTitle, aRect, nTitleWidth, aSOLabel); in insertPageHeader() 1357 aRect = insertLabel(xSection, sAuthorTitle, aRect, nWidth, aSOLabel); in insertPageHeader() 1359 aRect = insertLabel(xSection, sAuthor, aRect, nTitleWidth, aSOLabel); in insertPageHeader() 1364 aRect = insertLabel(xSection, sDateTitle, aRect, nWidth, aSOLabel); in insertPageHeader() 1366 aRect = insertFormattedField(xSection, sDate, aRect, nTitleWidth, aSOLabel); in insertPageHeader() 1376 aRect.Y += nLineHeight; in insertPageHeader() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviews3.cxx | 544 Rectangle aRect = maMarkRect; in ExecRuler() local 545 aRect.SetPos(aRect.TopLeft() + aPagePos); in ExecRuler() 548 aRect.SetPos(aRect.TopLeft() - aPagePos); in ExecRuler() 549 if ( aRect != maMarkRect) in ExecRuler() 601 Rectangle aRect = maMarkRect; in ExecRuler() local 602 aRect.SetPos(aRect.TopLeft() + aPagePos); in ExecRuler() 605 aRect.SetPos(aRect.TopLeft() - aPagePos); in ExecRuler() 655 Rectangle aRect = maMarkRect; in ExecRuler() local 656 aRect.SetPos(aRect.TopLeft() + aPagePos); in ExecRuler() 671 aRect.SetPos(aRect.TopLeft() - aPagePos); in ExecRuler() [all …]
|
/trunk/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 …]
|