Home
last modified time | relevance | path

Searched refs:aRect (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/trunk/main/vcl/source/control/
H A Dtabctrl.cxx373 Rectangle aRect = ImplGetTabRect( nLastPos, nWidth, nHeight ); in ImplGetTabRect() local
375 long nH = nHeight-aRect.Bottom()-TAB_OFFSET*2; in ImplGetTabRect()
376 aRect = (nW > 0 && nH > 0) in ImplGetTabRect()
377 ? Rectangle( Point( TAB_OFFSET, aRect.Bottom()+TAB_OFFSET ), Size( nW, nH ) ) in ImplGetTabRect()
379 return aRect; in ImplGetTabRect()
563 Rectangle aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage() local
567 aRect.Left() = 0; in ImplChangeTabPage()
568 aRect.Top() = 0; in ImplChangeTabPage()
569 aRect.Right() = Control::GetOutputSizePixel().Width(); in ImplChangeTabPage()
573 aRect.Left() -= 3; in ImplChangeTabPage()
[all …]
H A Dslider.cxx404 Rectangle aRect = maChannel1Rect; in ImplDraw() local
408 DrawLine( aRect.TopLeft(), Point( aRect.Left(), aRect.Bottom()-1 ) ); in ImplDraw()
409 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in ImplDraw()
413 DrawLine( aRect.TopLeft(), Point( aRect.Right()-1, aRect.Top() ) ); in ImplDraw()
414 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplDraw()
419 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in ImplDraw()
420 nRectSize = aRect.GetWidth(); in ImplDraw()
424 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplDraw()
425 nRectSize = aRect.GetHeight(); in ImplDraw()
430 aRect.Left()++; in ImplDraw()
[all …]
/trunk/main/svtools/source/control/
H A Dheadbar.cxx209 Rectangle aRect( ImplGetItemPos( nPos ), 0, 0, mnDY-1 ); in ImplGetItemRect() local
210 aRect.Right() = aRect.Left() + mpItemList->GetObject( nPos )->mnSize - 1; in ImplGetItemRect()
212 if ( aRect.Right() > 16000 ) in ImplGetItemRect()
213 aRect.Right() = 16000; in ImplGetItemRect()
214 return aRect; in ImplGetItemRect()
338 Rectangle aRect = rItemRect; in ImplDrawItem() local
341 if ( aRect.GetWidth() <= 1 ) in ImplDrawItem()
347 if ( aRect.Right() < pRect->Left() ) in ImplDrawItem()
349 else if ( aRect.Left() > pRect->Right() ) in ImplDrawItem()
354 if ( aRect.Right() < 0 ) in ImplDrawItem()
[all …]
H A Dvalueset.cxx221 Rectangle aRect = pItem->maRect; in ImplFormatItem() local
225 aRect.Left()++; in ImplFormatItem()
226 aRect.Top()++; in ImplFormatItem()
227 aRect.Right()--; in ImplFormatItem()
228 aRect.Bottom()--; in ImplFormatItem()
233 aRect.Left() += 2; in ImplFormatItem()
234 aRect.Top() += 2; in ImplFormatItem()
235 aRect.Right() -= 2; in ImplFormatItem()
236 aRect.Bottom() -= 2; in ImplFormatItem()
240 aRect.Left()++; in ImplFormatItem()
[all …]
/trunk/main/vcl/source/gdi/
H A Doutdev4.cxx174 Rectangle aRect = rRect; in ImplDrawLinearGradient() local
177 double fWidth = aRect.GetWidth(); in ImplDrawLinearGradient()
178 double fHeight = aRect.GetHeight(); in ImplDrawLinearGradient()
185 aRect.Left() -= (long)fDX; in ImplDrawLinearGradient()
186 aRect.Right() += (long)fDX; in ImplDrawLinearGradient()
187 aRect.Top() -= (long)fDY; in ImplDrawLinearGradient()
188 aRect.Bottom() += (long)fDY; in ImplDrawLinearGradient()
191 double fBorder = rGradient.GetBorder() * aRect.GetHeight() / 100.0; in ImplDrawLinearGradient()
197 Rectangle aMirrorRect = aRect; // used in style axial in ImplDrawLinearGradient()
198 aMirrorRect.Top() = ( aRect.Top() + aRect.Bottom() ) / 2; in ImplDrawLinearGradient()
[all …]
H A Doutdev5.cxx59 const Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DBG_NAMEEX() local
61 if ( aRect.IsEmpty() ) in DBG_NAMEEX()
85 … mpGraphics->DrawRect( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), this ); in DBG_NAMEEX()
88 const Polygon aRoundRectPoly( aRect, nHorzRound, nVertRound ); 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()
190 Polygon aArcPoly( aRect, aStart, aEnd, POLY_ARC ); in DrawArc()
[all …]
/trunk/main/embeddedobj/test/Container1/
H A DPaintThread.java75 …public void setPaintRequest( XBitmap xBitmap, com.sun.star.awt.Rectangle aRect, com.sun.star.awt.R… in setPaintRequest() argument
91 if ( PaintThread.interceptedRects( aRect, aClip ) ) in setPaintRequest()
94 m_aRect = aRect; in setPaintRequest()
116 com.sun.star.awt.Rectangle aRect = null; in run() local
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()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdotxtr.cxx74 long nTWdt0=aRect.GetWidth ()-1-nHDist; if (nTWdt0<0) nTWdt0=0; in NbcSetSnapRect()
75 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcSetSnapRect()
78 aRect=rRect; in NbcSetSnapRect()
79 ImpJustifyRect(aRect); in NbcSetSnapRect()
101 return aRect; in GetLogicRect()
108 long nTWdt0=aRect.GetWidth ()-1-nHDist; if (nTWdt0<0) nTWdt0=0; in NbcSetLogicRect()
109 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcSetLogicRect()
112 aRect=rRect; in NbcSetLogicRect()
113 ImpJustifyRect(aRect); in NbcSetLogicRect()
143 MoveRect(aRect,rSiz); in NbcMove()
[all …]
H A Dsvdocirc.cxx288 … const basegfx::B2DPolygon aPolyCirc(ImpCalcXPolyCirc(meCircleKind, aRect, nStartWink, nEndWink)); in RecalcXPoly()
295 if (aRect.GetWidth()==aRect.GetHeight() && aGeo.nShearWink==0) { in TakeObjNameSingul()
327 if (aRect.GetWidth()==aRect.GetHeight() && aGeo.nShearWink==0) { in TakeObjNamePlural()
357 …const basegfx::B2DPolygon aCircPolygon(ImpCalcXPolyCirc(meCircleKind, aRect, nStartWink, nEndWink)… in TakeXorPoly()
415 aPnt = GetWinkPnt(aRect,nStartWink); in GetHdl()
420 aPnt = GetWinkPnt(aRect,nEndWink); in GetHdl()
425 aPnt = aRect.TopLeft(); in GetHdl()
429 aPnt = aRect.TopCenter(); in GetHdl()
433 aPnt = aRect.TopRight(); in GetHdl()
437 aPnt = aRect.LeftCenter(); in GetHdl()
[all …]
H A Dsvdorect.cxx158 if (aGeo.nShearWink!=0) ShearXPoly(aXPoly,aRect.TopLeft(),aGeo.nTan); in ImpCalcXPoly()
159 if (aGeo.nDrehWink!=0) RotateXPoly(aXPoly,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in ImpCalcXPoly()
165 mpXPoly = new XPolygon(ImpCalcXPoly(aRect,GetEckenradius())); in RecalcXPoly()
216 rRect=aRect; in TakeUnrotatedSnapRect()
218 long nDst=Round((aRect.Bottom()-aRect.Top())*aGeo.nTan); in TakeUnrotatedSnapRect()
246 if (aRect.GetWidth()==aRect.GetHeight()) nResId+=2; // Quadrat in TakeObjNameSingul()
270 if (aRect.GetWidth()==aRect.GetHeight()) nResId+=2; // Quadrat in TakeObjNamePlural()
285 aXPP.Insert(ImpCalcXPoly(aRect,GetEckenradius())); in TakeXorPoly()
332 pH = new ImpTextframeHdl(aRect); in GetHdl()
340 …long b = Max(aRect.GetWidth(),aRect.GetHeight())/2; // Wird aufgerundet, da GetWidth() eins draufa… in GetHdl()
[all …]
H A Dsvdotxdr.cxx65 case 0: aPnt=aRect.TopLeft(); eKind=HDL_UPLFT; break; // Oben links in GetHdl()
66 case 1: aPnt=aRect.TopCenter(); eKind=HDL_UPPER; break; // Oben in GetHdl()
67 case 2: aPnt=aRect.TopRight(); eKind=HDL_UPRGT; break; // Oben rechts in GetHdl()
68 case 3: aPnt=aRect.LeftCenter(); eKind=HDL_LEFT ; break; // Links in GetHdl()
69 case 4: aPnt=aRect.RightCenter(); eKind=HDL_RIGHT; break; // Rechts in GetHdl()
70 case 5: aPnt=aRect.BottomLeft(); eKind=HDL_LWLFT; break; // Unten links in GetHdl()
71 case 6: aPnt=aRect.BottomCenter(); eKind=HDL_LOWER; break; // Unten in GetHdl()
72 case 7: aPnt=aRect.BottomRight(); eKind=HDL_LWRGT; break; // Unten rechts in GetHdl()
74 if (aGeo.nShearWink!=0) ShearPoint(aPnt,aRect.TopLeft(),aGeo.nTan); in GetHdl()
75 if (aGeo.nDrehWink!=0) RotatePoint(aPnt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetHdl()
[all …]
/trunk/main/svtools/source/contnr/
H A Dsvimpicn.cxx396 Rectangle aRect = rRect; in GetTextRect() local
412 nLines = (sal_uInt16)(aRect.GetHeight()/nTextHeight); in GetTextRect()
439 aRect.Left() = aRect.Right()-nMaxWidth+1; in GetTextRect()
442 aRect.Left() += (nWidth-nMaxWidth)/2; in GetTextRect()
443 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect()
446 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect()
449 aRect.Top() = aRect.Bottom()-(nTextHeight*nLines)+1; in GetTextRect()
452 aRect.Top() += (aRect.GetHeight()-(nTextHeight*nLines))/2; in GetTextRect()
453 aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1; in GetTextRect()
456 aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1; in GetTextRect()
[all …]
H A Dimivctl1.cxx322 pEntry->aRect.Right() = LONG_MAX; in InsertEntry()
328 if( !aOutputArea.IsOver( pEntry->aRect ) ) in InsertEntry()
330 pView->Invalidate( pEntry->aRect ); in InsertEntry()
333 InvalidateBoundingRect( pEntry->aRect ); in InsertEntry()
423 sal_Bool bEntryBoundValid = IsBoundingRectValid( pEntry->aRect ); in RemoveEntry()
425 pView->Invalidate( pEntry->aRect ); in RemoveEntry()
559 if( !IsBoundingRectValid( pCur->aRect ) ) in ResetVirtSize()
562 AdjustVirtSize( pCur->aRect ); in ResetVirtSize()
566 InvalidateBoundingRect( pCur->aRect ); in ResetVirtSize()
868 Rectangle aRect( CalcTextRect( pEntry ) ); in GetItem() local
[all …]
/trunk/main/sw/source/core/view/
H A Dvdraw.cxx252 SwRect aRect; in IsDragPossible() local
253 if( pO && ::CalcClipRect( pO, aRect, sal_False ) ) in IsDragPossible()
257 aRect.Union( aTmp ); in IsDragPossible()
260 aRect = GetShell()->GetLayout()->Frm(); in IsDragPossible()
262 aRect.Top( aRect.Top() - WIEDUWILLST ); in IsDragPossible()
263 aRect.Bottom( aRect.Bottom() + WIEDUWILLST ); in IsDragPossible()
264 aRect.Left( aRect.Left() - WIEDUWILLST ); in IsDragPossible()
265 aRect.Right( aRect.Right() + WIEDUWILLST ); in IsDragPossible()
266 return aRect.IsInside( rPoint ); in IsDragPossible()
285 const Rectangle aRect( Point( DOCUMENTBORDER, DOCUMENTBORDER ), rNewSz ); in NotifySizeChg() local
[all …]
/trunk/main/sw/source/core/frmedt/
H A Dfeshview.cxx598 const SwRect aRect( rPt, rPt ); in ScrollTo() local
599 if ( IsScrollMDI( this, aRect ) && in ScrollTo()
604 ScrollMDI( this, aRect, SCROLLVAL, SCROLLVAL ); in ScrollTo()
788 SwRect aRect; in lcl_NotifyNeighbours() local
805 aRect = pFly->Frm(); in lcl_NotifyNeighbours()
814 aRect = GetBoundRectOfAnchoredObj( pO ); in lcl_NotifyNeighbours()
828 if ( aRect.IsOver( aTmpCalcPnt ) ) in lcl_NotifyNeighbours()
835 if ( aRect.IsOver( aTmpCalcPnt ) ) in lcl_NotifyNeighbours()
844 pAct->Frm().Top() <= aRect.Bottom() && in lcl_NotifyNeighbours()
845 pAct->Frm().Bottom() >= aRect.Top() ) in lcl_NotifyNeighbours()
[all …]
/trunk/main/svx/source/tbxctrls/
H A Dtbcontrl.cxx1329 Rectangle aRect( Point(2,0), Size(rSize.Width()-4,0) ); in MakeLineBitmap() local
1342 aRect.Top() = 6; in MakeLineBitmap()
1343 aRect.Bottom() = 6; in MakeLineBitmap()
1344 aVirDev.DrawRect( aRect ); in MakeLineBitmap()
1348 aRect.Top() = 5; in MakeLineBitmap()
1349 aRect.Bottom() = 6; in MakeLineBitmap()
1350 aVirDev.DrawRect( aRect ); in MakeLineBitmap()
1355 aRect.Top() = 5; in MakeLineBitmap()
1356 aRect.Bottom() = 7; in MakeLineBitmap()
1357 aVirDev.DrawRect( aRect ); in MakeLineBitmap()
[all …]
/trunk/main/svtools/source/hatchwindow/
H A Dipwin.cxx200 Rectangle aRect( GetTrackRectPixel( rPos ) ); in SelectMove() local
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()
222 aPos = aRect.TopLeft() - aOuter.TopLeft(); in GetTrackPosPixel()
225 aPos.Y() = aRect.Top() - aOuter.Top(); in GetTrackPosPixel()
228 aPos = aRect.TopRight() - aTR; in GetTrackPosPixel()
231 aPos.X() = aRect.Right() - aTR.X(); in GetTrackPosPixel()
[all …]
/trunk/main/svx/source/dialog/
H A Dpagectrl.cxx207 Rectangle aRect; in DrawPage() local
209 aRect.Left() = rOrg.X() + nL; in DrawPage()
210 aRect.Right() = rOrg.X() + aTempSize.Width() - nR; in DrawPage()
211 aRect.Top() = rOrg.Y() + nTop; in DrawPage()
212 aRect.Bottom() = rOrg.Y() + aTempSize.Height() - nBottom; in DrawPage()
214 Rectangle aHdRect(aRect); in DrawPage()
215 Rectangle aFtRect(aRect); in DrawPage()
224 drawFillAttributes(maPageFillAttributes, aRect, aRect); in DrawPage()
232 aHdRect.Bottom() = aRect.Top() + nHdHeight; in DrawPage()
233 aRect.Top() += nHdHeight + nHdDist; in DrawPage()
[all …]
/trunk/main/vcl/source/window/
H A Ddockmgr.cxx498 Rectangle aRect; in GetPosSizePixel() local
501 aRect = Rectangle( pWrapper->GetPosPixel(), pWrapper->GetSizePixel() ); in GetPosSizePixel()
503 return aRect; in GetPosSizePixel()
623 Rectangle aRect; in GetDragRect() local
626 aRect = Rectangle( 1,1, GetOutputSizePixel().Width()-1, 2+POPUP_DRAGHEIGHT ); in GetDragRect()
630 aRect.Top() = height - 3 - POPUP_DRAGHEIGHT; in GetDragRect()
631 aRect.Bottom() = aRect.Top() + 1 + POPUP_DRAGHEIGHT; in GetDragRect()
634 return aRect; in GetDragRect()
656 Rectangle aRect( aPt, GetOutputSizePixel() ); in DrawBorder() local
659 Region aClipRgn( aRect ); in DrawBorder()
[all …]
H A Ddecoview.cxx418 Rectangle aRect( nCenterX-n2, nCenterY-n2, in ImplDrawSymbol() local
420 pDev->DrawRect( aRect ); in ImplDrawSymbol()
423 Rectangle aTempRect = aRect; in ImplDrawSymbol()
425 aTempRect.Right() = aRect.Left(); in ImplDrawSymbol()
427 aTempRect.Left() = aRect.Right(); in ImplDrawSymbol()
428 aTempRect.Right() = aRect.Right(); in ImplDrawSymbol()
431 aTempRect.Left() = aRect.Left(); in ImplDrawSymbol()
507 Rectangle aRect( nCenterX-n2, nCenterY-n2+3, in ImplDrawSymbol() local
509 pDev->DrawRect( aRect ); in ImplDrawSymbol()
510 Rectangle aTempRect = aRect; in ImplDrawSymbol()
[all …]
/trunk/main/sw/source/ui/frmdlg/
H A Dcolex.cxx238 Rectangle aRect; in DrawPage() local
239 aRect.Right() = rOrg.X() + GetSize().Width() - nR; in DrawPage()
240 aRect.Left() = rOrg.X() + nL; in DrawPage()
241 aRect.Top() = rOrg.Y() + GetTop() in DrawPage()
243 aRect.Bottom()= rOrg.Y() + GetSize().Height() - GetBottom() in DrawPage()
245 DrawRect(aRect); in DrawPage()
248 const Rectangle aDefineRect(aRect); in DrawPage()
282 aRect.Right() = aRect.Left() + nAutoColWidth; in DrawPage()
285 drawFillAttributes(getPageFillAttributes(), aRect, aDefineRect); in DrawPage()
288 aRect.Left() = aRect.Right() + pColMgr->GetGutterWidth(i); in DrawPage()
[all …]
/trunk/main/vcl/workben/
H A Doutdevgrind.cxx114 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()
395 aPt1,aRect.GetSize(),aBitmapAlien )); in setupMethodStubs()
[all …]
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/
H A DReportBuilderLayouter.java431 Rectangle aRect = new Rectangle(); in insertGroups() local
432 aRect.X = nLeftPageIndent + getLeftGroupIndent(i); in insertGroups()
434aRect = insertLabel(xGroupSection, getTitleFromFieldName(m_aGroupNames[i]), aRect, nLabelWidth, aS… in insertGroups()
437aRect = insertFormattedField(xGroupSection, sGroupName, aRect, nFieldWidth, aSO); in insertGroups()
438 int height = aRect.Height; in insertGroups()
441 aRect.X = nLeftPageIndent + getLeftGroupIndent(i); in insertGroups()
442 aRect.Y = aRect.Height; in insertGroups()
443 final int nLineWidth = getPageWidth() - getRightPageIndent() - aRect.X; in insertGroups()
445 insertHorizontalLine(xGroupSection, aRect, nLineWidth, nLineHeight); in insertGroups()
1340 Rectangle aRect = new Rectangle(); in insertPageHeader() local
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrviews3.cxx363 Rectangle aRect( GetActiveWindow()->PixelToLogic( rRect.GetValue() ) ); in SO2_DECL_REF() local
379 pOle2Obj->SetLogicRect(aRect); in SO2_DECL_REF()
544 Rectangle aRect = maMarkRect; in ExecRuler() local
545 aRect.SetPos(aRect.TopLeft() + aPagePos); in ExecRuler()
546 aRect.Left() = rLRSpace.GetLeft(); in ExecRuler()
547 aRect.Right() = aViewSize.Width() - rLRSpace.GetRight(); in ExecRuler()
548 aRect.SetPos(aRect.TopLeft() - aPagePos); in ExecRuler()
549 if ( aRect != maMarkRect) in ExecRuler()
551 mpDrawView->SetAllMarkedRect(aRect); in ExecRuler()
601 Rectangle aRect = maMarkRect; in ExecRuler() local
[all …]
/trunk/main/vcl/aqua/source/gdi/
H A Dsalnativewidgets.cxx104 static HIRect ImplGetHIRectFromRectangle(Rectangle aRect) in ImplGetHIRectFromRectangle() argument
107 aHIRect.origin.x = static_cast<float>(aRect.Left()); in ImplGetHIRectFromRectangle()
108 aHIRect.origin.y = static_cast<float>(aRect.Top()); in ImplGetHIRectFromRectangle()
109 aHIRect.size.width = static_cast<float>(aRect.GetWidth()); in ImplGetHIRectFromRectangle()
110 aHIRect.size.height = static_cast<float>(aRect.GetHeight()); in ImplGetHIRectFromRectangle()
387 Rectangle aRect; in hitTestNativeControl() local
388 bool bValid = AquaGetScrollRect( /* TODO: m_nScreen */ nPart, rControlRegion, aRect ); in hitTestNativeControl()
389 rIsInside = bValid ? aRect.IsInside( rPos ) : sal_False; in hitTestNativeControl()
399 if( rPos.X() - aRect.Left() < 4 ) in hitTestNativeControl()
405 if( rPos.Y() - aRect.Top() < 4 ) in hitTestNativeControl()
[all …]

12345678910>>...25