/trunk/main/svl/unx/inc/ |
H A D | convert.hxx | 46 static void Swap( Rectangle & rRect ) in Swap() argument 47 { Swap( rRect.Top() ); Swap( rRect.Bottom() ); in Swap() 48 Swap( rRect.Left() ); Swap( rRect.Right() ); } in Swap()
|
/trunk/main/sw/source/core/text/ |
H A D | inftxt.cxx | 871 rInf.GetTxtFrm()->SwitchRTLtoLTR( rRect ); in lcl_DrawSpecial() 873 rInf.GetTxtFrm()->SwitchVerticalToHorizontal( rRect ); in lcl_DrawSpecial() 910 nMaxWidth = rRect.Width(); in lcl_DrawSpecial() 914 nMaxWidth = rRect.Height(); in lcl_DrawSpecial() 948 SwTwips nX = rRect.Left(); in lcl_DrawSpecial() 949 SwTwips nY = rRect.Top(); in lcl_DrawSpecial() 954 nX += ( rRect.Width() - aFontSize.Width() ) / 2; in lcl_DrawSpecial() 960 nY += ( rRect.Height() + aFontSize.Width() ) / 2; in lcl_DrawSpecial() 965 nY += ( rRect.Height() - aFontSize.Width() ) / 2; in lcl_DrawSpecial() 990 DrawFlyRect( pOut, rRect, *this, bNoGraphic ); in DrawRect() [all …]
|
H A D | txtfly.cxx | 814 SwRect SwTxtFly::_GetFrm( const SwRect &rRect, sal_Bool bTop ) const in _GetFrm() argument 817 if( ForEach( rRect, &aRet, sal_True ) ) in _GetFrm() 821 (aRet.*fnRect->fnSetTop)( (rRect.*fnRect->fnGetTop)() ); in _GetFrm() 825 const SwTwips nRectBottom = (rRect.*fnRect->fnGetBottom)(); in _GetFrm() 866 sal_Bool SwTxtFly::IsAnyObj( const SwRect &rRect ) const in IsAnyObj() 870 SwRect aRect( rRect ); in IsAnyObj() 1035 SwRect &rRect = aRegion[i]; in DrawTextOpaque() local 1036 if( rRect != aRegion.GetOrigin() ) in DrawTextOpaque() 1037 aClipVout.ChgClip( rRect ); in DrawTextOpaque() 1060 SwRegionRects aRegion( rRect ); in DrawFlyRect() [all …]
|
/trunk/main/tools/source/generic/ |
H A D | line.cxx | 118 sal_Bool Line::Intersection( const Rectangle& rRect, Line& rIntersection ) const in Intersection() argument 120 const sal_Bool bStartInside = rRect.IsInside( maStart ); in Intersection() 121 const sal_Bool bEndInside = rRect.IsInside( maEnd ); in Intersection() 133 const Point aTL( rRect.TopLeft() ), aTR( rRect.TopRight() ); in Intersection() 134 const Point aBR( rRect.BottomRight() ), aBL( rRect.BottomLeft() ); in Intersection()
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter_impl.cxx | 1456 rRect.Bottom() = rRect.Top() + aSize.Height(); in convertRect() 8868 aPoints[1] = Point( rRect.TopLeft().X() + rRect.GetWidth()/2, rRect.TopLeft().Y() ); in drawEllipse() 8872 aPoints[4] = Point( rRect.TopRight().X()+1, rRect.TopRight().Y() + rRect.GetHeight()/2 ); in drawEllipse() 8876 aPoints[7] = Point( rRect.BottomLeft().X() + rRect.GetWidth()/2, rRect.BottomLeft().Y()+1 ); in drawEllipse() 8880 aPoints[10] = Point( rRect.TopLeft().X(), rRect.TopLeft().Y() + rRect.GetHeight()/2 ); in drawEllipse() 8925 Point aOrigin((rRect.Left()+rRect.Right()+1)/2, in calcAngle() 8926 (rRect.Top()+rRect.Bottom()+1)/2); in calcAngle() 8932 if((rRect.GetWidth() > rRect.GetHeight()) && (rRect.GetHeight() != 0 )) in calcAngle() 8934 else if((rRect.GetHeight() > rRect.GetWidth()) && (rRect.GetWidth() != 0)) in calcAngle() 8960 const Point aCenter( (rRect.Left()+rRect.Right()+1)/2, in drawArc() [all …]
|
H A D | metaact.cxx | 57 rRect.Justify(); in ImplScaleRect() 487 maRect ( rRect ) in IMPL_META_ACTION() 553 maRect ( rRect ), in IMPL_META_ACTION() 624 maRect ( rRect ) in IMPL_META_ACTION() 690 maRect ( rRect ), in IMPL_META_ACTION() 764 maRect ( rRect ), in IMPL_META_ACTION() 838 maRect ( rRect ), in IMPL_META_ACTION() 1599 maRect ( rRect ), in IMPL_META_ACTION() 2494 maRect ( rRect ), in IMPL_META_ACTION() 2723 maRect ( rRect ), in IMPL_META_ACTION() [all …]
|
/trunk/main/sc/source/filter/starcalc/ |
H A D | scfobj.cxx | 58 void Sc10InsertObject::InsertChart( ScDocument* pDoc, SCTAB nDestTab, const Rectangle& rRect, in InsertChart() argument 70 … = new SdrOle2Obj( ::svt::EmbeddedObjectRef( xObj, embed::Aspects::MSOLE_CONTENT ), aName, rRect ); in InsertChart() 84 pSdrOle2Obj->SetLogicRect(rRect); // erst nach InsertObject !!! in InsertChart() 86 aSz.Width = rRect.GetSize().Width(); in InsertChart() 87 aSz.Height = rRect.GetSize().Height(); in InsertChart()
|
/trunk/main/vcl/inc/vcl/ |
H A D | decoview.hxx | 94 void DrawSymbol( const Rectangle& rRect, SymbolType eType, 96 void DrawFrame( const Rectangle& rRect, 99 void DrawHighlightFrame( const Rectangle& rRect, 101 Rectangle DrawFrame( const Rectangle& rRect, sal_uInt16 nStyle = FRAME_DRAW_OUT ); 102 Rectangle DrawButton( const Rectangle& rRect, sal_uInt16 nStyle );
|
/trunk/main/svx/source/svdraw/ |
H A D | svdovirt.cxx | 476 void SdrVirtObj::SetSnapRect(const Rectangle& rRect) in SetSnapRect() argument 480 Rectangle aR(rRect); in SetSnapRect() 488 void SdrVirtObj::NbcSetSnapRect(const Rectangle& rRect) in NbcSetSnapRect() argument 490 Rectangle aR(rRect); in NbcSetSnapRect() 505 void SdrVirtObj::SetLogicRect(const Rectangle& rRect) in SetLogicRect() argument 508 Rectangle aR(rRect); in SetLogicRect() 515 void SdrVirtObj::NbcSetLogicRect(const Rectangle& rRect) in NbcSetLogicRect() argument 517 Rectangle aR(rRect); in NbcSetLogicRect()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | scroll.cxx | 74 void SwScrollbar::ViewPortChgd( const Rectangle &rRect ) in ViewPortChgd() argument 79 nThumb = rRect.Left(); in ViewPortChgd() 80 nVisible = rRect.GetWidth(); in ViewPortChgd() 84 nThumb = rRect.Top(); in ViewPortChgd() 85 nVisible = rRect.GetHeight(); in ViewPortChgd()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | wmfwr.cxx | 356 void WMFWriter::WriteRectangle(const Rectangle & rRect) in WriteRectangle() argument 358 WritePointYX(Point(rRect.Right()+1,rRect.Bottom()+1)); in WriteRectangle() 359 WritePointYX(rRect.TopLeft()); in WriteRectangle() 400 WriteRectangle(rRect); in WMFRecord_Arc() 408 WriteRectangle(rRect); in WMFRecord_Chord() 531 void WMFWriter::WMFRecord_Ellipse(const Rectangle & rRect) in WMFRecord_Ellipse() argument 534 WriteRectangle(rRect); in WMFRecord_Ellipse() 739 WriteRectangle(rRect); in WMFRecord_Pie() 805 WriteRectangle( rRect ); in WMFRecord_Rectangle() 820 WriteRectangle(rRect); in WMFRecord_RoundRect() [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | svdorect.hxx | 81 SdrRectObj(const Rectangle& rRect); 85 SdrRectObj(SdrObjKind eNewTextKind, const Rectangle& rRect); 92 virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const; 99 virtual void NbcSetSnapRect(const Rectangle& rRect); 100 virtual void NbcSetLogicRect(const Rectangle& rRect);
|
H A D | svdpagv.hxx | 177 void InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix=sal_False); 192 …void DrawPageViewGrid(OutputDevice& rOut, const Rectangle& rRect, Color aColor = Color( COL_BLACK … 234 void LogicToPagePos(Rectangle& rRect) const { rRect.Move(-aPgOrg.X(),-aPgOrg.Y()); } in LogicToPagePos() 236 void PagePosToLogic(Rectangle& rRect) const { rRect.Move(aPgOrg.X(),aPgOrg.Y()); } in PagePosToLogic()
|
/trunk/main/vcl/source/window/ |
H A D | floatwin.cxx | 236 Point FloatingWindow::CalcFloatingPosition( Window* pWindow, const Rectangle& rRect, sal_uLong nFla… in CalcFloatingPosition() argument 238 return ImplCalcPos( pWindow, rRect, nFlags, rArrangeIndex ); in CalcFloatingPosition() 244 const Rectangle& rRect, sal_uLong nFlags, in ImplCalcPos() argument 258 Rectangle normRect( rRect ); // rRect is already relative to top-level window in ImplCalcPos() 657 void FloatingWindow::StartPopupMode( const Rectangle& rRect, sal_uLong nFlags ) in StartPopupMode() argument 684 SetPosPixel( ImplCalcPos( this, rRect, nFlags, nArrangeIndex ) ); in StartPopupMode() 690 maFloatRect = rRect; in StartPopupMode() 693 maFloatRect.SetPos( GetParent()->ScreenToOutputPixel( rRect.TopLeft() ) ); in StartPopupMode() 697 … GetParent()->OutputToAbsoluteScreenPixel( GetParent()->ScreenToOutputPixel( rRect.TopLeft() ) ) ); in StartPopupMode()
|
H A D | brdwin.cxx | 96 rRect.Left()--; in ImplCalcSymbolRect() 97 rRect.Top()--; in ImplCalcSymbolRect() 98 rRect.Right()++; in ImplCalcSymbolRect() 99 rRect.Bottom()++; in ImplCalcSymbolRect() 104 rRect.Left() += nExtraWidth; in ImplCalcSymbolRect() 105 rRect.Right() -= nExtraWidth; in ImplCalcSymbolRect() 106 rRect.Top() += nExtraHeight; in ImplCalcSymbolRect() 107 rRect.Bottom() -= nExtraHeight; in ImplCalcSymbolRect() 117 Rectangle aTempRect = rRect; in ImplDrawBrdWinSymbol() 126 const Rectangle& rRect, in ImplDrawBrdWinSymbolButton() argument [all …]
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ReportSection.cxx | 141 void OReportSection::Paint( const Rectangle& rRect ) in Paint() argument 143 Window::Paint(rRect); in Paint() 150 const Region aPaintRectRegion(rRect); in Paint() 162 rTargetOutDev.DrawWallpaper(rRect, Wallpaper(pPgView->GetApplicationDocumentColor())); in Paint() 813 const Rectangle& rRect = m_pView->GetWorkArea(); in ExecuteDrop() local 814 if ( aDropPos.X() < rRect.Left() ) in ExecuteDrop() 815 aDropPos.X() = rRect.Left(); in ExecuteDrop() 816 else if ( aDropPos.X() > rRect.Right() ) in ExecuteDrop() 817 aDropPos.X() = rRect.Right(); in ExecuteDrop() 819 if ( aDropPos.Y() > rRect.Bottom() ) in ExecuteDrop() [all …]
|
/trunk/main/svtools/source/filter/ |
H A D | sgvmain.cxx | 218 SvStream& operator>>(SvStream& rInp, RectType& rRect) in operator >>() argument 220 rInp.Read((char*)&rRect.Last,RectSize); in operator >>() 222 SWAPOBJK (rRect); in operator >>() 223 SWAPLINE (rRect.L); in operator >>() 224 SWAPAREA (rRect.F); in operator >>() 225 SWAPPOINT(rRect.Pos1); in operator >>() 226 SWAPPOINT(rRect.Pos2); in operator >>() 227 rRect.Radius =SWAPSHORT(rRect.Radius ); in operator >>() 228 rRect.DrehWink=SWAPSHORT(rRect.DrehWink); in operator >>() 229 rRect.Slant =SWAPSHORT(rRect.Slant ); in operator >>()
|
/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 742 void EmbeddedObjectRef::DrawPaintReplacement( const Rectangle &rRect, const String &rText, OutputDe… in DrawPaintReplacement() argument 761 aPt.X() = (rRect.GetWidth() - pOut->GetTextWidth( rText )) / 2; in DrawPaintReplacement() 762 aPt.Y() = (rRect.GetHeight() - pOut->GetTextHeight()) / 2; in DrawPaintReplacement() 778 long nHeight = rRect.GetHeight() - pOut->GetTextHeight(); in DrawPaintReplacement() 779 long nWidth = rRect.GetWidth(); in DrawPaintReplacement() 783 Point aP = rRect.TopLeft(); in DrawPaintReplacement() 809 pOut->IntersectClipRegion( rRect ); in DrawPaintReplacement() 810 aPt += rRect.TopLeft(); in DrawPaintReplacement() 815 void EmbeddedObjectRef::DrawShading( const Rectangle &rRect, OutputDevice *pOut ) in DrawShading() argument 824 Size aPixSize = pOut->LogicToPixel( rRect.GetSize() ); in DrawShading() [all …]
|
/trunk/main/sfx2/inc/sfx2/ |
H A D | dockwin.hxx | 57 SfxChildAlignment CalcAlignment(const Point& rPos, Rectangle& rRect ); 58 void CalcSplitPosition(const Point rPos, Rectangle& rRect, 68 virtual sal_Bool Docking( const Point& rPos, Rectangle& rRect ); 69 virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode ); 71 virtual void Paint( const Rectangle& rRect );
|
/trunk/main/sd/source/ui/view/ |
H A D | drviews4.cxx | 882 void DrawViewShell::ShowMousePosInfo(const Rectangle& rRect, in ShowMousePosInfo() argument 912 pHLines[0].nPos = rRect.Left() - nHOffs; in ShowMousePosInfo() 913 pVLines[0].nPos = rRect.Top() - nVOffs; in ShowMousePosInfo() 917 if ( rRect.Right() != rRect.Left() || rRect.Bottom() != rRect.Top() ) in ShowMousePosInfo() 919 pHLines[1].nPos = rRect.Right() - nHOffs; in ShowMousePosInfo() 920 pVLines[1].nPos = rRect.Bottom() - nVOffs; in ShowMousePosInfo()
|
/trunk/main/svtools/source/contnr/ |
H A D | imivctl.hxx | 269 void ClipAtVirtOutRect( Rectangle& rRect ) const; 298 void ShowFocus ( Rectangle& rRect ); 329 void Paint( const Rectangle& rRect ); 404 …void InvalidateBoundingRect( Rectangle& rRect ) { rRect.Right() = LONG_MAX; bBoundRectsDirty = s… in InvalidateBoundingRect() argument 405 …sal_Bool IsBoundingRectValid( const Rectangle& rRect ) const { return (sal_Bool)( rRect.Right() … in IsBoundingRectValid() 417 const Rectangle& rRect,
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | RelationControl.cxx | 146 virtual void PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId ) const; 386 …void ORelationControl::PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId… in PaintCell() argument 391 Point aPos( rRect.TopLeft() ); in PaintCell() 394 if( aPos.X() < rRect.Right() || aPos.X() + aTextSize.Width() > rRect.Right() || in PaintCell() 395 aPos.Y() < rRect.Top() || aPos.Y() + aTextSize.Height() > rRect.Bottom() ) in PaintCell() 396 rDev.SetClipRegion( rRect ); in PaintCell()
|
/trunk/main/svtools/inc/svtools/ |
H A D | taskbar.hxx | 416 virtual void Paint( const Rectangle& rRect ); 468 SVT_DLLPRIVATE void ImplTile( const Rectangle& rRect ); 469 SVT_DLLPRIVATE void ImplHorz( const Rectangle& rRect ); 470 SVT_DLLPRIVATE void ImplVert( const Rectangle& rRect ); 471 SVT_DLLPRIVATE void ImplCascade( const Rectangle& rRect ); 483 void Arrange( sal_uInt16 nType, const Rectangle& rRect );
|
/trunk/main/sw/source/core/crsr/ |
H A D | viscrs.cxx | 180 virtual void Paint( const Rectangle& rRect ); 189 void SwRedlineRects::Paint( const Rectangle& rRect ) in Paint() argument 215 pWin->DrawRect( rRect ); in Paint() 700 void SwSelPaintRects::Invalidate( const SwRect& rRect ) in Invalidate() argument 709 aReg -= rRect; in Invalidate() 844 void SwShellCrsr::Invalidate( const SwRect& rRect ) in Invalidate() argument 850 pTmp->SwSelPaintRects::Invalidate( rRect ); in Invalidate() 867 SHOWBOOKMARKS2( 3, &rRect ) in Invalidate() 868 SHOWREDLINES2( 3, &rRect ) in Invalidate()
|
/trunk/main/framework/source/layoutmanager/ |
H A D | helpers.hxx | 69 void setZeroRectangle( ::Rectangle& rRect ); 75 ::Rectangle putAWTToRectangle( const ::com::sun::star::awt::Rectangle& rRect ); 76 ::com::sun::star::awt::Rectangle putRectangleValueToAWT( const ::Rectangle& rRect ); 77 ::com::sun::star::awt::Rectangle convertRectangleToAWT( const ::Rectangle& rRect ); 78 ::Rectangle convertAWTToRectangle( const ::com::sun::star::awt::Rectangle& rRect );
|