Home
last modified time | relevance | path

Searched refs:rRect (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/trunk/main/vcl/source/window/
H A Ddecoview.cxx41 static void ImplDrawSymbol( OutputDevice* pDev, const Rectangle& rRect, in ImplDrawSymbol() argument
45 long nMin = Min( rRect.GetWidth(), rRect.GetHeight() ); in ImplDrawSymbol()
50 Point aCenter = rRect.Center(); in ImplDrawSymbol()
440 Point aPos1( bRTL ? rRect.Right() : rRect.Left(), in ImplDrawSymbol()
441 rRect.Bottom() - rRect.GetHeight() / 3 ); in ImplDrawSymbol()
442 … Point aPos2( bRTL ? rRect.Right() - rRect.GetWidth()/3 : rRect.Left() + rRect.GetWidth()/3, in ImplDrawSymbol()
443 rRect.Bottom() ); in ImplDrawSymbol()
444 Point aPos3( bRTL ? rRect.TopLeft() : rRect.TopRight() ); in ImplDrawSymbol()
464 if ( --nX < rRect.Left() ) in ImplDrawSymbol()
468 if ( ++nX > rRect.Right() ) in ImplDrawSymbol()
[all …]
H A Dsplitwin.cxx1007 void SplitWindow::ImplDrawBack( SplitWindow* pWindow, const Rectangle& rRect, in ImplDrawBack() argument
1012 Point aPos = rRect.TopLeft(); in ImplDrawBack()
1015 pWindow->IntersectClipRegion( rRect ); in ImplDrawBack()
1018 aPos.X() = rRect.Left(); in ImplDrawBack()
1024 while ( aPos.X() < rRect.Right() ); in ImplDrawBack()
1027 while ( aPos.Y() < rRect.Bottom() ); in ImplDrawBack()
1031 pWindow->DrawWallpaper( rRect, *pWall ); in ImplDrawBack()
1762 void SplitWindow::ImplGetButtonRect( Rectangle& rRect, long nEx, sal_Bool bTest ) const in ImplGetButtonRect() argument
1785 rRect.Left() = mnLeftBorder+nEx; in ImplGetButtonRect()
1786 rRect.Top() = mnDY-mnBottomBorder-nSplitSize; in ImplGetButtonRect()
[all …]
/trunk/main/starmath/source/
H A Drect.cxx105 SmRect::SmRect(const SmRect &rRect) in SmRect() argument
106 : aTopLeft(rRect.aTopLeft), in SmRect()
107 aSize(rRect.aSize) in SmRect()
109 bHasBaseline = rRect.bHasBaseline; in SmRect()
110 nBaseline = rRect.nBaseline; in SmRect()
111 nAlignT = rRect.nAlignT; in SmRect()
112 nAlignM = rRect.nAlignM; in SmRect()
113 nAlignB = rRect.nAlignB; in SmRect()
114 nGlyphTop = rRect.nGlyphTop; in SmRect()
115 nGlyphBottom = rRect.nGlyphBottom; in SmRect()
[all …]
/trunk/main/svx/source/dialog/
H A Dswframeexample.cxx229 void SvxSwFrameExample::CalcBoundRect_Impl(Rectangle &rRect) in CalcBoundRect_Impl() argument
239 rRect.Left() = aPage.Left(); in CalcBoundRect_Impl()
240 rRect.Right() = aPage.Right(); in CalcBoundRect_Impl()
245 rRect.Left() = aPagePrtArea.Left(); in CalcBoundRect_Impl()
246 rRect.Right() = aPagePrtArea.Right(); in CalcBoundRect_Impl()
250 rRect.Left() = aPage.Left(); in CalcBoundRect_Impl()
251 rRect.Right() = aPagePrtArea.Left(); in CalcBoundRect_Impl()
255 rRect.Left() = aPagePrtArea.Right(); in CalcBoundRect_Impl()
256 rRect.Right() = aPage.Right(); in CalcBoundRect_Impl()
264 rRect.Top() = aPagePrtArea.Top(); in CalcBoundRect_Impl()
[all …]
H A Dframelink.cxx191 explicit LinePoints( const Rectangle& rRect, bool bTLBR ) : in LinePoints()
192 maBeg( bTLBR ? rRect.TopLeft() : rRect.TopRight() ), in LinePoints()
193 maEnd( bTLBR ? rRect.BottomRight() : rRect.BottomLeft() ) {} in LinePoints()
998 LinePoints lclGetDiagLineEnds( const Rectangle& rRect, bool bTLBR, long nDiagOffs ) in lclGetDiagLineEnds() argument
1000 LinePoints aPoints( rRect, bTLBR ); in lclGetDiagLineEnds()
1001 bool bVert = rRect.GetWidth() < rRect.GetHeight(); in lclGetDiagLineEnds()
1002 double fAngle = bVert ? GetVerDiagAngle( rRect ) : GetHorDiagAngle( rRect ); in lclGetDiagLineEnds()
1036 void lclPushDiagClipRect( OutputDevice& rDev, const Rectangle& rRect, const DiagLineResult& rResult… in lclPushDiagClipRect() argument
1039 Rectangle aClipRect( rRect ); in lclPushDiagClipRect()
1073 void lclPushCrossingClipRegion( OutputDevice& rDev, const Rectangle& rRect, bool bTLBR, const Style… in lclPushCrossingClipRegion() argument
[all …]
/trunk/main/sw/source/core/bastyp/
H A Dswrect.cxx48 SwRect::SwRect( const Rectangle &rRect ) : in SwRect() argument
49 m_Point( rRect.Left(), rRect.Top() ) in SwRect()
51 m_Size.setWidth(rRect.Right() == RECT_EMPTY ? 0 : in SwRect()
52 rRect.Right() - rRect.Left() +1); in SwRect()
53 m_Size.setHeight(rRect.Bottom() == RECT_EMPTY ? 0 : in SwRect()
54 rRect.Bottom() - rRect.Top() + 1); in SwRect()
89 SwRect& SwRect::Union( const SwRect& rRect ) in Union() argument
91 if ( Top() > rRect.Top() ) in Union()
92 Top( rRect.Top() ); in Union()
93 if ( Left() > rRect.Left() ) in Union()
[all …]
/trunk/main/vcl/source/gdi/
H A Dregion.cxx334 Region::Region(const Rectangle& rRect) in Region() argument
340 mpRegionBand.reset(rRect.IsEmpty() ? 0 : new RegionBand(rRect)); in Region()
526 bool Region::Union( const Rectangle& rRect ) in Union() argument
528 if(rRect.IsEmpty()) in Union()
537 *this = rRect; in Union()
551 *this = rRect; in Union()
559 rRect.Left(), in Union()
560 rRect.Top(), in Union()
561 rRect.Right(), in Union()
562 rRect.Bottom()))); in Union()
[all …]
H A Dgdimetafiletools.cxx323 const Rectangle& rRect = pA->GetRect(); in clipMetafileContentAgainstOwnRegions() local
325 if(!rRect.IsEmpty() && aClips.size() && aClips.back().count()) in clipMetafileContentAgainstOwnRegions()
328 rRect.Left(), rRect.Top(), in clipMetafileContentAgainstOwnRegions()
329 rRect.Right(), rRect.Bottom()); in clipMetafileContentAgainstOwnRegions()
512 const Rectangle& rRect = pA->GetRect(); in clipMetafileContentAgainstOwnRegions() local
514 if(rRect.IsEmpty()) in clipMetafileContentAgainstOwnRegions()
526 rRect.Left(), rRect.Top(), in clipMetafileContentAgainstOwnRegions()
527 rRect.Right(), rRect.Bottom()))), in clipMetafileContentAgainstOwnRegions()
537 const Rectangle& rRect = pA->GetRect(); in clipMetafileContentAgainstOwnRegions() local
539 if(rRect.IsEmpty()) in clipMetafileContentAgainstOwnRegions()
[all …]
H A Dpdfwriter.cxx115 const Rectangle& rRect, in DrawText() argument
119 ((PDFWriterImpl*)pImplementation)->drawText( rRect, rStr, nStyle ); in DrawText()
142 void PDFWriter::DrawRect( const Rectangle& rRect ) in DrawRect() argument
144 ((PDFWriterImpl*)pImplementation)->drawRectangle( rRect ); in DrawRect()
147 void PDFWriter::DrawRect( const Rectangle& rRect, sal_uLong nHorzRound, sal_uLong nVertRound ) in DrawRect() argument
149 ((PDFWriterImpl*)pImplementation)->drawRectangle( rRect, nHorzRound, nVertRound ); in DrawRect()
152 void PDFWriter::DrawEllipse( const Rectangle& rRect ) in DrawEllipse() argument
154 ((PDFWriterImpl*)pImplementation)->drawEllipse( rRect ); in DrawEllipse()
157 void PDFWriter::DrawArc( const Rectangle& rRect, const Point& rStart, const Point& rStop ) in DrawArc() argument
159 ((PDFWriterImpl*)pImplementation)->drawArc( rRect, rStart, rStop, false, false ); in DrawArc()
[all …]
H A Doutdev4.cxx169 void OutputDevice::ImplDrawLinearGradient( const Rectangle& rRect, in ImplDrawLinearGradient() argument
174 Rectangle aRect = rRect; in ImplDrawLinearGradient()
192 Point aCenter = rRect.Center(); in ImplDrawLinearGradient()
393 void OutputDevice::ImplDrawComplexGradient( const Rectangle& rRect, in ImplDrawComplexGradient() argument
406 Rectangle aRect( rRect ); in ImplDrawComplexGradient()
535 pPolyPoly->Insert( aPoly = rRect ); in ImplDrawComplexGradient()
541 Rectangle aExtRect( rRect ); in ImplDrawComplexGradient()
648 void OutputDevice::DrawGradient( const Rectangle& rRect, in DrawGradient() argument
678 DrawRect( rRect ); in DrawGradient()
713 mpMetaFile->AddAction( new MetaGradientAction( rRect, aGradient ) ); in DrawGradient()
[all …]
H A Doutdev5.cxx47 void OutputDevice::DrawRect( const Rectangle& rRect, in DBG_NAMEEX()
54 mpMetaFile->AddAction( new MetaRoundRectAction( rRect, nHorzRound, nVertRound ) ); in DBG_NAMEEX()
59 const Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DBG_NAMEEX()
102 mpAlphaVDev->DrawRect( rRect, nHorzRound, nVertRound ); in DBG_NAMEEX()
107 void OutputDevice::DrawEllipse( const Rectangle& rRect ) in DrawEllipse() argument
113 mpMetaFile->AddAction( new MetaEllipseAction( rRect ) ); in DrawEllipse()
118 Rectangle aRect( ImplLogicToDevicePixel( rRect ) ); in DrawEllipse()
152 mpAlphaVDev->DrawEllipse( rRect ); in DrawEllipse()
157 void OutputDevice::DrawArc( const Rectangle& rRect, in DrawArc() argument
164 mpMetaFile->AddAction( new MetaArcAction( rRect, rStartPt, rEndPt ) ); in DrawArc()
[all …]
/trunk/main/tools/source/generic/
H A Dgen.cxx225 Rectangle& Rectangle::Union( const Rectangle& rRect ) in Union() argument
227 if ( rRect.IsEmpty() ) in Union()
231 *this = rRect; in Union()
234 nLeft = Min( Min( nLeft, rRect.nLeft ), Min( nRight, rRect.nRight ) ); in Union()
235 nRight = Max( Max( nLeft, rRect.nLeft ), Max( nRight, rRect.nRight ) ); in Union()
236 nTop = Min( Min( nTop, rRect.nTop ), Min( nBottom, rRect.nBottom ) ); in Union()
237 nBottom = Max( Max( nTop, rRect.nTop ), Max( nBottom, rRect.nBottom ) ); in Union()
253 Rectangle& Rectangle::Intersection( const Rectangle& rRect ) in Intersection() argument
257 if ( rRect.IsEmpty() ) in Intersection()
264 Rectangle aTmpRect( rRect ); in Intersection()
[all …]
/trunk/main/tools/inc/tools/
H A Dgen.hxx427 Rectangle& Union( const Rectangle& rRect );
428 Rectangle& Intersection( const Rectangle& rRect );
429 Rectangle GetUnion( const Rectangle& rRect ) const;
430 Rectangle GetIntersection( const Rectangle& rRect ) const;
435 sal_Bool IsInside( const Rectangle& rRect ) const;
436 sal_Bool IsOver( const Rectangle& rRect ) const;
441 sal_Bool operator == ( const Rectangle& rRect ) const;
442 sal_Bool operator != ( const Rectangle& rRect ) const;
448 friend Rectangle operator + ( const Rectangle& rRect, const Point& rPt );
449 friend Rectangle operator - ( const Rectangle& rRect, const Point& rPt );
[all …]
/trunk/main/svtools/source/control/
H A Dtaskmisc.cxx100 void WindowArrange::ImplTile( const Rectangle& rRect ) in ImplTile() argument
105 ImplVert( rRect ); in ImplTile()
118 long nX = rRect.Left(); in ImplTile()
119 long nY = rRect.Top(); in ImplTile()
120 long nWidth = rRect.GetWidth(); in ImplTile()
121 long nHeight = rRect.GetHeight(); in ImplTile()
189 void WindowArrange::ImplHorz( const Rectangle& rRect ) in ImplHorz() argument
192 long nX = rRect.Left(); in ImplHorz()
193 long nY = rRect.Top(); in ImplHorz()
194 long nWidth = rRect.GetWidth(); in ImplHorz()
[all …]
/trunk/main/basegfx/source/tools/
H A Dcanvastools.cxx464 geometry::RealRectangle2D rectangle2DFromB2DRectangle( const ::basegfx::B2DRange& rRect ) in rectangle2DFromB2DRectangle() argument
466 return geometry::RealRectangle2D( rRect.getMinX(), in rectangle2DFromB2DRectangle()
467 rRect.getMinY(), in rectangle2DFromB2DRectangle()
468 rRect.getMaxX(), in rectangle2DFromB2DRectangle()
469 rRect.getMaxY() ); in rectangle2DFromB2DRectangle()
472 geometry::RealRectangle3D rectangle3DFromB3DRectangle( const ::basegfx::B3DRange& rRect ) in rectangle3DFromB3DRectangle() argument
474 return geometry::RealRectangle3D( rRect.getMinX(), in rectangle3DFromB3DRectangle()
475 rRect.getMinY(), in rectangle3DFromB3DRectangle()
476 rRect.getMinZ(), in rectangle3DFromB3DRectangle()
477 rRect.getMaxX(), in rectangle3DFromB3DRectangle()
[all …]
/trunk/main/sw/inc/
H A Dswrect.hxx37 inline SwRect( const SwRect &rRect );
43 SwRect( const Rectangle &rRect );
77 SwRect &Union( const SwRect& rRect );
78 SwRect &Intersection( const SwRect& rRect );
80 SwRect &_Intersection( const SwRect &rRect );
81 inline SwRect GetIntersection( const SwRect& rRect ) const;
85 sal_Bool IsInside( const SwRect& rRect ) const;
86 sal_Bool IsOver( const SwRect& rRect ) const;
91 inline SwRect &operator = ( const SwRect &rRect );
93 inline sal_Bool operator == ( const SwRect& rRect ) const;
[all …]
/trunk/main/sw/source/core/layout/
H A Dpaintfrm.cxx145 SwLineRect( const SwRect &rRect, const Color *pCol,
160 sal_Bool MakeUnion( const SwRect &rRect );
170 void AddLineRect( const SwRect& rRect, const Color *pColor,
186 inline void Ins( const SwRect &rRect, const sal_uInt8 nSCol );
398 SwLineRect::SwLineRect( const SwRect &rRect, const Color *pCol, in SwLineRect() argument
400 SwRect( rRect ), in SwLineRect()
409 sal_Bool SwLineRect::MakeUnion( const SwRect &rRect ) in MakeUnion() argument
415 if ( Left() == rRect.Left() && Width() == rRect.Width() ) in MakeUnion()
419 if ( Bottom() + nAdd >= rRect.Top() && in MakeUnion()
420 Top() - nAdd <= rRect.Bottom() ) in MakeUnion()
[all …]
H A Dflylay.cxx122 const SwRect& rRect, PrepareHint eHint ) in NotifyBackground() argument
124 ::Notify_Background( GetVirtDrawObj(), pPageFrm, rRect, eHint, sal_True ); in NotifyBackground()
1034 sal_Bool CalcClipRect( const SdrObject *pSdrObj, SwRect &rRect, sal_Bool bMove ) in CalcClipRect() argument
1060 rRect = pClip->Frm(); in CalcClipRect()
1067 (rRect.*fnRect->fnSetTop)( (pClip->*fnRect->fnGetPrtTop)() ); in CalcClipRect()
1068 (rRect.*fnRect->fnSetBottom)( (pClip->*fnRect->fnGetPrtBottom)() ); in CalcClipRect()
1075 (rRect.*fnRect->fnSetLeft)( (pClip->*fnRect->fnGetPrtLeft)() ); in CalcClipRect()
1076 (rRect.*fnRect->fnSetRight)((pClip->*fnRect->fnGetPrtRight)()); in CalcClipRect()
1094 rRect = bMove ? pClipFrm->GetUpper()->Frm() in CalcClipRect()
1105 rRect.Union( aTmp ); in CalcClipRect()
[all …]
/trunk/main/canvas/source/directx/
H A Ddx_impltools.cxx318 Gdiplus::Rect gdiPlusRectFromIntegerRectangle2D( const geometry::IntegerRectangle2D& rRect ) in gdiPlusRectFromIntegerRectangle2D() argument
320 return Gdiplus::Rect( rRect.X1, in gdiPlusRectFromIntegerRectangle2D()
321 rRect.Y1, in gdiPlusRectFromIntegerRectangle2D()
322 rRect.X2 - rRect.X1, in gdiPlusRectFromIntegerRectangle2D()
323 rRect.Y2 - rRect.Y1 ); in gdiPlusRectFromIntegerRectangle2D()
326 Gdiplus::RectF gdiPlusRectFFromRectangle2D( const geometry::RealRectangle2D& rRect ) in gdiPlusRectFFromRectangle2D() argument
328 return Gdiplus::RectF( static_cast<Gdiplus::REAL>(rRect.X1), in gdiPlusRectFFromRectangle2D()
329 static_cast<Gdiplus::REAL>(rRect.Y1), in gdiPlusRectFFromRectangle2D()
330 static_cast<Gdiplus::REAL>(rRect.X2 - rRect.X1), in gdiPlusRectFFromRectangle2D()
331 static_cast<Gdiplus::REAL>(rRect.Y2 - rRect.Y1) ); in gdiPlusRectFFromRectangle2D()
[all …]
/trunk/main/svtools/source/contnr/
H A Dimivctl2.cxx57 const Rectangle& rRect= in GetSortListPos() local
61 nCurValue = rRect.Top(); in GetSortListPos()
63 nCurValue = rRect.Left(); in GetSortListPos()
88 Rectangle rRect( pView->CalcBmpRect( pEntry,0 ) ); in ImplCreate() local
89 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / nDeltaHeight ); in ImplCreate()
90 short nX = (short)( ((rRect.Left()+rRect.Right())/2) / nDeltaWidth ); in ImplCreate()
98 sal_uInt16 nIns = GetSortListPos( &pColumns[nX], rRect.Top(), sal_True ); in ImplCreate()
101 nIns = GetSortListPos( &pRows[nY], rRect.Left(), sal_False ); in ImplCreate()
147 const Rectangle& rRect = pView->GetEntryBoundRect( pEntry ); in SearchCol() local
148 if( rRect.Top() > rRefRect.Top() ) in SearchCol()
[all …]
H A Dsvimpicn.cxx377 sal_uInt16 GetTextLines( OutputDevice* pDev, const Rectangle& rRect, in GetTextLines() argument
384 rRect.GetWidth(), rStr, nStyle ); in GetTextLines()
392 Rectangle GetTextRect( OutputDevice* pDev, const Rectangle& rRect, in GetTextRect() argument
396 Rectangle aRect = rRect; in GetTextRect()
398 long nWidth = rRect.GetWidth(); in GetTextRect()
463 void DrawText( OutputDevice* pDev, const Rectangle& rRect, in DrawText() argument
466 if ( !rStr.Len() || rRect.IsEmpty() ) in DrawText()
469 Point aPos = rRect.TopLeft(); in DrawText()
470 long nWidth = rRect.GetWidth(); in DrawText()
471 long nHeight = rRect.GetHeight(); in DrawText()
[all …]
/trunk/main/framework/source/layoutmanager/
H A Dhelpers.cxx147 void setZeroRectangle( ::Rectangle& rRect ) in setZeroRectangle() argument
149 rRect.setX(0); in setZeroRectangle()
150 rRect.setY(0); in setZeroRectangle()
151 rRect.setWidth(0); in setZeroRectangle()
152 rRect.setHeight(0); in setZeroRectangle()
251 ::com::sun::star::awt::Rectangle putRectangleValueToAWT( const ::Rectangle& rRect ) in putRectangleValueToAWT() argument
254 aRect.X = rRect.Left(); in putRectangleValueToAWT()
255 aRect.Y = rRect.Top(); in putRectangleValueToAWT()
256 aRect.Width = rRect.Right(); in putRectangleValueToAWT()
257 aRect.Height = rRect.Bottom(); in putRectangleValueToAWT()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdocapt.cxx94 void CalcEscPos(const Point& rTail, const Rectangle& rRect, Point& rPt, EscDir& rDir) const;
97 void ImpCaptParams::CalcEscPos(const Point& rTailPt, const Rectangle& rRect, Point& rPt, EscDir& rD… in CalcEscPos() argument
102 nX=rRect.Right()-rRect.Left(); in CalcEscPos()
104 nY=rRect.Bottom()-rRect.Top(); in CalcEscPos()
110 nX+=rRect.Left(); in CalcEscPos()
111 nY+=rRect.Top(); in CalcEscPos()
132 Point aLft(rRect.Left()-nGap,nY); in CalcEscPos()
133 Point aRgt(rRect.Right()+nGap,nY); in CalcEscPos()
144 Point aTop(nX,rRect.Top()-nGap); in CalcEscPos()
145 Point aBtm(nX,rRect.Bottom()+nGap); in CalcEscPos()
[all …]
/trunk/main/basegfx/test/
H A Dtesttools.cxx168 void Plotter::plot( const B2DRange& rRect ) in plot() argument
174 plot( B2DPoint(rRect.getMinX(), in plot()
175 rRect.getMinY()), in plot()
176 B2DPoint(rRect.getMaxX(), in plot()
177 rRect.getMinY()) ); in plot()
178 plot( B2DPoint(rRect.getMaxX(), in plot()
179 rRect.getMinY()), in plot()
180 B2DPoint(rRect.getMaxX(), in plot()
181 rRect.getMaxY()) ); in plot()
182 plot( B2DPoint(rRect.getMaxX(), in plot()
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrviewsh.cxx83 void DrawViewShell::MakeVisible(const Rectangle& rRect, ::Window& rWin) in MakeVisible() argument
97 Size aLogicSize(rRect.GetSize()); in MakeVisible()
104 if(!aVisArea.IsInside(rRect) && !SlideShow::IsRunning( GetViewShellBase() ) ) in MakeVisible()
113 SetZoomRect(rRect); in MakeVisible()
129 if(aInnerRectangle.Left() > rRect.Right()) in MakeVisible()
135 if(aInnerRectangle.Right() < rRect.Left()) in MakeVisible()
143 if(nFreeSpaceX > rRect.GetWidth()) in MakeVisible()
144 nFreeSpaceX = rRect.GetWidth(); in MakeVisible()
146 while(rRect.Right() > aNewPos.X() + aVisAreaSize.Width()) in MakeVisible()
149 while(rRect.Left() < aNewPos.X()) in MakeVisible()
[all …]

12345678910>>...28