/trunk/main/svx/source/svdraw/ |
H A D | svdpntv.cxx | 463 void SdrPaintView::TakeActionRect(Rectangle& rRect) const in TakeActionRect() 467 rRect = Rectangle(aDragStat.GetStart(),aDragStat.GetNow()); in TakeActionRect() 1141 Rectangle aRect(rRect); in InvalidateAllWin() 1172 void SdrPaintView::InvalidateOneWin(Window& rWin, const Rectangle& rRect) in InvalidateOneWin() argument 1176 rWin.Invalidate(rRect, INVALIDATE_NOERASE); in InvalidateOneWin() 1347 void SdrPaintView::MakeVisible(const Rectangle& rRect, Window& rWin) in MakeVisible() argument 1354 Size aNewSize(rRect.GetSize()); in MakeVisible() 1378 if (l>rRect.Left()) dx=rRect.Left()-l; in MakeVisible() 1379 else if (r<rRect.Right()) dx=rRect.Right()-r; in MakeVisible() 1380 if (o>rRect.Top()) dy=rRect.Top()-o; in MakeVisible() [all …]
|
H A D | svdpagv.cxx | 314 void SdrPageView::InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix) in InvalidateAllWin() argument 318 GetView().InvalidateAllWin(rRect, bPlus1Pix); in InvalidateAllWin() 481 void SdrPageView::DrawPageViewGrid(OutputDevice& rOut, const Rectangle& rRect, Color aColor) in DrawPageViewGrid() argument 601 if (!rRect.IsEmpty()) { in DrawPageViewGrid() 605 if (x1<rRect.Left() -nX1Pix) x1=rRect.Left() -nX1Pix; in DrawPageViewGrid() 606 if (x2>rRect.Right() +nX1Pix) x2=rRect.Right() +nX1Pix; in DrawPageViewGrid() 607 if (y1<rRect.Top() -nY1Pix) y1=rRect.Top() -nY1Pix; in DrawPageViewGrid() 608 if (y2>rRect.Bottom()+nY1Pix) y2=rRect.Bottom()+nY1Pix; in DrawPageViewGrid()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | wmfwr.hxx | 143 void WriteRectangle(const Rectangle & rRect); 155 void WMFRecord_Arc(const Rectangle & rRect, const Point & rStartPt, const Point & rEndPt); 156 void WMFRecord_Chord(const Rectangle & rRect, const Point & rStartPt, const Point & rEndPt); 161 void WMFRecord_Ellipse(const Rectangle & rRect); 171 void WMFRecord_Pie(const Rectangle & rRect, const Point & rStartPt, const Point & rEndPt); 175 void WMFRecord_Rectangle(const Rectangle & rRect); 177 void WMFRecord_RoundRect(const Rectangle & rRect, long nHorzRound, long nVertRound); 192 void WMFRecord_IntersectClipRect( const Rectangle& rRect);
|
/trunk/main/toolkit/source/awt/ |
H A D | vclxregion.cxx | 89 void VCLXRegion::unionRectangle( const ::com::sun::star::awt::Rectangle& rRect ) throw(::com::sun::… in unionRectangle() argument 93 maRegion.Union( VCLRectangle( rRect ) ); in unionRectangle() 96 void VCLXRegion::intersectRectangle( const ::com::sun::star::awt::Rectangle& rRect ) throw(::com::s… in intersectRectangle() argument 100 maRegion.Intersect( VCLRectangle( rRect ) ); in intersectRectangle() 103 void VCLXRegion::excludeRectangle( const ::com::sun::star::awt::Rectangle& rRect ) throw(::com::sun… in excludeRectangle() argument 107 maRegion.Exclude( VCLRectangle( rRect ) ); in excludeRectangle() 110 void VCLXRegion::xOrRectangle( const ::com::sun::star::awt::Rectangle& rRect ) throw(::com::sun::st… in xOrRectangle() argument 114 maRegion.XOr( VCLRectangle( rRect ) ); in xOrRectangle()
|
/trunk/main/vcl/inc/aqua/ |
H A D | salgdi.h | 447 inline void AquaSalGraphics::RefreshRect( const CGRect& rRect ) in RefreshRect() argument 449 RefreshRect( rRect.origin.x, rRect.origin.y, rRect.size.width, rRect.size.height ); in RefreshRect() 453 inline void AquaSalGraphics::RefreshRect( const NSRect& rRect ) in RefreshRect() argument 455 RefreshRect( rRect.origin.x, rRect.origin.y, rRect.size.width, rRect.size.height ); in RefreshRect()
|
/trunk/main/sw/source/core/inc/ |
H A D | txtfrm.hxx | 185 sal_Bool _GetDropRect( SwRect &rRect ) const; 252 virtual sal_Bool GetCharRect( SwRect& rRect, const SwPosition& rPos, 281 virtual bool FillSelection( SwSelectionList& rList, const SwRect& rRect ) const; 297 void PaintExtraData( const SwRect & rRect ) const; //Seitennummer usw. 478 inline sal_Bool GetDropRect( SwRect &rRect ) const in GetDropRect() 479 { return HasPara() ? _GetDropRect( rRect ) : sal_False; } in GetDropRect() 558 void SwitchHorizontalToVertical( SwRect& rRect ) const; 567 void SwitchVerticalToHorizontal( SwRect& rRect ) const; 577 void SwitchLTRtoRTL( SwRect& rRect ) const; 583 inline void SwitchRTLtoLTR( SwRect& rRect ) const { SwitchLTRtoRTL( rRect ); } in SwitchRTLtoLTR()
|
/trunk/main/sfx2/source/dialog/ |
H A D | dockwin.cxx | 717 rRect.SetSize( Size() ); in Docking() 755 Size aSize = rRect.GetSize(); in Docking() 797 rRect.SetPos(aPos); in Docking() 843 pImp->aSplitSize = rRect.GetSize(); in EndDocking() 866 pImp->aSplitSize = rRect.GetSize(); in EndDocking() 873 DockingWindow::EndDocking(rRect, bFloatMode); in EndDocking() 1342 rRect.SetSize( aFloatingSize ); in CalcAlignment() 1386 Rectangle aDockingRect( rRect ); in CalcAlignment() 1544 rRect = aDockingRect; in CalcAlignment() 1570 rRect.SetSize( pImp->aSplitSize ); in CalcAlignment() [all …]
|
/trunk/main/canvas/source/simplecanvas/ |
H A D | simplecanvasimpl.cxx | 69 … geometry::RealRectangle2D const& rRect ) in rect2Poly() argument 73 pOutput[0] = geometry::RealPoint2D( rRect.X1, rRect.Y1 ); in rect2Poly() 74 pOutput[1] = geometry::RealPoint2D( rRect.X2, rRect.Y1 ); in rect2Poly() 75 pOutput[2] = geometry::RealPoint2D( rRect.X2, rRect.Y2 ); in rect2Poly() 76 pOutput[3] = geometry::RealPoint2D( rRect.X1, rRect.Y2 ); in rect2Poly()
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 514 void ExtensionBox_Impl::DrawRow( const Rectangle& rRect, const TEntry_Impl pEntry ) in DrawRow() argument 531 DrawRect( rRect ); in DrawRow() 541 Erase( rRect ); in DrawRow() 545 Point aPos( rRect.TopLeft() ); in DrawRow() 581 long nMaxTitleWidth = rRect.GetWidth() - ICON_OFFSET; in DrawRow() 591 aPos = rRect.TopLeft() + Point( ICON_OFFSET, TOP_OFFSET ); in DrawRow() 633 DrawText( Rectangle( aPos.X(), aPos.Y(), rRect.Right(), rRect.Bottom() - nExtraHeight ), in DrawRow() 639 if ( nWidth > rRect.GetWidth() - aPos.X() ) in DrawRow() 640 sDescription = GetEllipsisString( sDescription, rRect.GetWidth() - aPos.X() ); in DrawRow() 655 aPos = rRect.TopRight() + Point( -(RIGHT_ICON_OFFSET + SMALL_ICON_SIZE), TOP_OFFSET ); in DrawRow() [all …]
|
/trunk/main/svtools/source/brwbox/ |
H A D | datwin.cxx | 318 void BrowserDataWin::Paint( const Rectangle& rRect ) in Paint() argument 324 aInvalidRegion.Insert( new Rectangle( rRect ) ); in Paint() 328 ( (BrowseBox*) GetParent() )->PaintData( *this, rRect ); in Paint() 333 aInvalidRegion.Insert( new Rectangle( rRect ) ); in Paint() 645 const Rectangle& rRect ): in BrowseEvent() argument 648 aRect(rRect), in BrowseEvent() 666 const Rectangle& rRect ): in BrowserMouseEvent() argument 668 BrowseEvent( pWindow, nAbsRow, nColumn, nColumnId, rRect ) in BrowserMouseEvent() 736 void BrowserDataWin::Invalidate( const Rectangle& rRect, sal_uInt16 nFlags ) in Invalidate() argument 739 aInvalidRegion.Insert( new Rectangle( rRect ) ); in Invalidate() [all …]
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | TableGrantCtrl.cxx | 442 void OTableGrantControl::PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnI… in PaintCell() argument 450 …PaintTristate(rDev, rRect, isAllowed(nColumnId,aFind->second.nRights) ? STATE_CHECK : STATE_NOCHEC… in PaintCell() 452 PaintTristate(rDev, rRect, STATE_NOCHECK,sal_False); in PaintCell() 457 Point aPos( rRect.TopLeft() ); in PaintCell() 461 if( aPos.X() < rRect.Right() || aPos.X() + nWidth > rRect.Right() || in PaintCell() 462 aPos.Y() < rRect.Top() || aPos.Y() + nHeight > rRect.Bottom() ) in PaintCell() 463 rDev.SetClipRegion( rRect ); in PaintCell()
|
/trunk/main/vcl/inc/vcl/ |
H A D | splitwin.hxx | 119 SAL_DLLPRIVATE void ImplGetButtonRect( Rectangle& rRect, long nEx, sal_Bool bTest ) const; 120 SAL_DLLPRIVATE void ImplGetAutoHideRect( Rectangle& rRect, sal_Bool bTest = sal_False ) const; 121 SAL_DLLPRIVATE void ImplGetFadeInRect( Rectangle& rRect, sal_Bool bTest = sal_False ) const; 122 SAL_DLLPRIVATE void ImplGetFadeOutRect( Rectangle& rRect, sal_Bool bTest = sal_False ) const; 123 SAL_DLLPRIVATE void ImplDrawButtonRect( const Rectangle& rRect, long nSize ); 128 SAL_DLLPRIVATE void ImplDrawGrip( const Rectangle& rRect, sal_Bool bHorz, sal_Bool bLeft ); 137 static SAL_DLLPRIVATE void ImplDrawBack( SplitWindow* pWindow, const Rectangle& rRect, 164 virtual void Paint( const Rectangle& rRect );
|
H A D | pdfextoutdevdata.hxx | 213 …sal_Int32 CreateNamedDest( const String& sDestName, const Rectangle& rRect, sal_Int32 nPageNr = -… 230 …void DescribeRegisteredDest( sal_Int32 nDestId, const Rectangle& rRect, sal_Int32 nPageNr =… 250 …sal_Int32 CreateDest( const Rectangle& rRect, sal_Int32 nPageNr = -1, PDFWriter::DestAreaType eTyp… 265 sal_Int32 CreateLink( const Rectangle& rRect, sal_Int32 nPageNr = -1 ); 371 void CreateNote( const Rectangle& rRect, const PDFNote& rNote, sal_Int32 nPageNr = -1 ); 487 void SetStructureBoundingBox( const Rectangle& rRect );
|
/trunk/main/editeng/source/uno/ |
H A D | unoedhlp.cxx | 341 Rectangle SvxEditSourceHelper::EEToUserSpace( const Rectangle& rRect, const Size& rEESize, bool bIs… in EEToUserSpace() argument 344 return bIsVertical ? Rectangle( EEToUserSpace(rRect.BottomLeft(), rEESize, bIsVertical), in EEToUserSpace() 345 EEToUserSpace(rRect.TopRight(), rEESize, bIsVertical) ) : rRect; in EEToUserSpace() 348 Rectangle SvxEditSourceHelper::UserSpaceToEE( const Rectangle& rRect, const Size& rEESize, bool bIs… in UserSpaceToEE() argument 351 return bIsVertical ? Rectangle( UserSpaceToEE(rRect.TopRight(), rEESize, bIsVertical), in UserSpaceToEE() 352 … UserSpaceToEE(rRect.BottomLeft(), rEESize, bIsVertical) ) : rRect; in UserSpaceToEE()
|
/trunk/main/sw/source/core/layout/ |
H A D | frmtool.cxx | 2935 SwTwips nBottom = rRect.Bottom(); in lcl_CheckFlowBack() 2965 if ( aCntPrt.IsOver( rRect ) ) in lcl_NotifyCntnt() 2971 else if ( aCntPrt.IsOver( rRect ) ) in lcl_NotifyCntnt() 3000 const SwRect& rRect, in Notify_Background() argument 3132 pFly->Frm().Bottom() >= rRect.Top() && in Notify_Background() 3133 pFly->Frm().Top() <= rRect.Bottom() && in Notify_Background() 3134 pFly->Frm().Right() >= rRect.Left() && in Notify_Background() 3135 pFly->Frm().Left() <= rRect.Right() ) in Notify_Background() 3169 pSh->InvalidateWindows( rRect ); in Notify_Background() 3351 if ( !rRect.IsOver( pPage->Frm() ) ) in FindPage() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | invmerge.cxx | 147 void ScInvertMerger::AddRect( const Rectangle& rRect ) in AddRect() argument 149 Rectangle aJustified = rRect; in AddRect() 150 if ( rRect.Left() > rRect.Right() ) // switch for RTL layout in AddRect() 152 aJustified.Left() = rRect.Right(); in AddRect() 153 aJustified.Right() = rRect.Left(); in AddRect()
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter_impl.hxx | 150 void appendRect( const Rectangle& rRect, rtl::OStringBuffer& rBuffer ) const; 152 void convertRect( Rectangle& rRect ) const; 1191 bool intersectClipRegion( const Rectangle& rRect ); 1244 void drawRectangle( const Rectangle& rRect ); 1245 void drawRectangle( const Rectangle& rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound ); 1246 void drawEllipse( const Rectangle& rRect ); 1254 void drawGradient( const Rectangle& rRect, const Gradient& rGradient ); 1257 void drawWallpaper( const Rectangle& rRect, const Wallpaper& rWall ); 1279 sal_Int32 createLink( const Rectangle& rRect, sal_Int32 nPageNr = -1 ); 1293 void createNote( const Rectangle& rRect, const PDFNote& rNote, sal_Int32 nPageNr = -1 ); [all …]
|
H A D | pdfextoutdevdata.cxx | 649 mpGlobalSyncData->mParaRects.push_back( rRect ); in CreateNamedDest() 665 void PDFExtOutDevData::DescribeRegisteredDest( sal_Int32 nDestId, const Rectangle& rRect, sal_Int32… in DescribeRegisteredDest() argument 669 aLinkDestination.mRect = rRect; in DescribeRegisteredDest() 675 sal_Int32 PDFExtOutDevData::CreateDest( const Rectangle& rRect, sal_Int32 nPageNr, PDFWriter::DestA… in CreateDest() argument 678 mpGlobalSyncData->mParaRects.push_back( rRect ); in CreateDest() 684 sal_Int32 PDFExtOutDevData::CreateLink( const Rectangle& rRect, sal_Int32 nPageNr ) in CreateLink() argument 687 mpGlobalSyncData->mParaRects.push_back( rRect ); in CreateLink() 735 void PDFExtOutDevData::CreateNote( const Rectangle& rRect, const PDFNote& rNote, sal_Int32 nPageNr ) in CreateNote() argument 738 mpGlobalSyncData->mParaRects.push_back( rRect ); in CreateNote() 805 void PDFExtOutDevData::SetStructureBoundingBox( const Rectangle& rRect ) in SetStructureBoundingBox() argument [all …]
|
/trunk/main/vcl/workben/ |
H A D | vcldemo.cxx | 80 void Paint( const Rectangle& rRect ); 154 void MyWin::Paint( const Rectangle& rRect ) in Paint() argument 156 …fprintf(stderr, "MyWin::Paint(%ld,%ld,%ld,%ld)\n", rRect.getX(), rRect.getY(), rRect.getWidth(), r… in Paint()
|
/trunk/main/sw/source/core/text/ |
H A D | txtpaint.hxx | 41 void _ChgClip( const SwRect &rRect, const SwTxtFrm* pFrm, 46 inline void ChgClip( const SwRect &rRect, const SwTxtFrm* pFrm = 0, in ChgClip() argument 48 { if( pOut ) _ChgClip( rRect, pFrm, bEnlargeRect ); } in ChgClip() 115 DbgRect( OutputDevice* pOut, const Rectangle &rRect, 165 inline DbgRect::DbgRect( OutputDevice* pOutDev, const Rectangle &rRect, in DbgRect() argument 177 pOut->DrawRect( rRect ); in DbgRect()
|
/trunk/main/sc/source/ui/inc/ |
H A D | prevloc.hxx | 110 …void AddCellRange( const Rectangle& rRect, const ScRange& rRange, sal_Bool bRepCol, sal_Bool bRepR… 112 void AddColHeaders( const Rectangle& rRect, SCCOL nStartCol, SCCOL nEndCol, sal_Bool bRepCol ); 113 void AddRowHeaders( const Rectangle& rRect, SCROW nStartRow, SCROW nEndRow, sal_Bool bRepRow ); 114 void AddHeaderFooter( const Rectangle& rRect, sal_Bool bHeader, sal_Bool bLeft ); 115 void AddNoteMark( const Rectangle& rRect, const ScAddress& rPos ); 116 void AddNoteText( const Rectangle& rRect, const ScAddress& rPos );
|
/trunk/main/basctl/source/dlged/ |
H A D | dlgedview.cxx | 76 void DlgEdView::MakeVisible( const Rectangle& rRect, Window& rWin ) in MakeVisible() argument 86 if ( !aVisRect.IsInside( rRect ) ) in MakeVisible() 99 while ( rRect.Right() > nVisRight + nScrollX ) in MakeVisible() 102 while ( rRect.Left() < nVisLeft + nScrollX ) in MakeVisible() 105 while ( rRect.Bottom() > nVisBottom + nScrollY ) in MakeVisible() 108 while ( rRect.Top() < nVisTop + nScrollY ) in MakeVisible()
|
/trunk/main/canvas/workben/ |
H A D | canvasdemo.cxx | 101 virtual void Paint( const Rectangle& rRect ); 188 void drawRect( Rectangle rRect, uno::Sequence< double > &aColor, int /*nWidth*/ ) in drawRect() argument 193 aPoints[0] = geometry::RealPoint2D( rRect.Left(), rRect.Top() ); in drawRect() 194 aPoints[1] = geometry::RealPoint2D( rRect.Left(), rRect.Bottom() ); in drawRect() 195 aPoints[2] = geometry::RealPoint2D( rRect.Right(), rRect.Bottom() ); in drawRect() 196 aPoints[3] = geometry::RealPoint2D( rRect.Right(), rRect.Top() ); in drawRect()
|
/trunk/main/svx/inc/svx/ |
H A D | framelink.hxx | 244 inline double GetHorDiagAngle( const Rectangle& rRect ) in GetHorDiagAngle() argument 245 { return GetHorDiagAngle( rRect.GetWidth(), rRect.GetHeight() ); } in GetHorDiagAngle() 281 inline double GetVerDiagAngle( const Rectangle& rRect ) in GetVerDiagAngle() argument 282 { return GetVerDiagAngle( rRect.GetWidth(), rRect.GetHeight() ); } in GetVerDiagAngle() 697 const Rectangle& rRect, /// Rectangle for both diagonal frame borders.
|
/trunk/main/editeng/source/items/ |
H A D | svxfont.cxx | 91 void SvxFont::DrawArrow( OutputDevice &rOut, const Rectangle& rRect, in DrawArrow() argument 94 long nLeft = ( rRect.Left() + rRect.Right() - rSize.Width() )/ 2; in DrawArrow() 96 long nMid = ( rRect.Top() + rRect.Bottom() ) / 2; in DrawArrow() 99 if( nLeft < rRect.Left() ) in DrawArrow() 101 nLeft = rRect.Left(); in DrawArrow() 102 nRight = rRect.Right(); in DrawArrow() 104 if( nTop < rRect.Top() ) in DrawArrow() 106 nTop = rRect.Top(); in DrawArrow() 107 nBottom = rRect.Bottom(); in DrawArrow()
|