Lines Matching refs:rRect
377 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()
521 pDev->IntersectClipRegion( rRect ); in DrawText()
525 Region aRegion( rRect ); in DrawText()
552 aPos.X() = rRect.Left(); in DrawText()
614 pDev->IntersectClipRegion( rRect ); in DrawText()
620 Region aRegion( rRect ); in DrawText()
692 sal_Bool FindEmptyGridRect( Rectangle& rRect );
1161 void SvImpIconView::AdjustVirtSize( const Rectangle& rRect ) in AdjustVirtSize() argument
1166 if( aVirtOutputSize.Width() < (rRect.Right()+LROFFS_WINBORDER) ) in AdjustVirtSize()
1167 nWidthOffs = (rRect.Right()+LROFFS_WINBORDER) - aVirtOutputSize.Width(); in AdjustVirtSize()
1169 if( aVirtOutputSize.Height() < (rRect.Bottom()+TBOFFS_WINBORDER) ) in AdjustVirtSize()
1170 nHeightOffs = (rRect.Bottom()+TBOFFS_WINBORDER) - aVirtOutputSize.Height(); in AdjustVirtSize()
1209 void SvImpIconView::Paint( const Rectangle& rRect ) in Paint() argument
1261 if( rRect.IsOver( rBoundRect ) ) in Paint()
1288 sal_Bool SvImpIconView::GetResizeRect( Rectangle& rRect ) in GetResizeRect() argument
1297 rRect.SetPos( aOrigin ); in GetResizeRect()
1298 rRect.SetSize( Size( nVerSBarWidth, nHorSBarHeight)); in GetResizeRect()
1304 void SvImpIconView::PaintResizeRect( const Rectangle& rRect ) in PaintResizeRect() argument
1310 pView->DrawRect( rRect ); in PaintResizeRect()
2011 void SvImpIconView::PaintEmphasis( const Rectangle& rRect, sal_Bool bSelected, in PaintEmphasis() argument
2044 pOut->DrawRect( rRect ); in PaintEmphasis()
2049 void SvImpIconView::PaintItem( const Rectangle& rRect, in PaintItem() argument
2056 DrawText( pOut, rRect, rStr, DRAWTEXT_FLAGS ); in PaintItem()
2060 Point aPos( rRect.TopLeft() ); in PaintItem()
2063 aPos.X() += (rRect.GetWidth() - rSize.Width() ) / 2; in PaintItem()
2065 aPos.Y() += (rRect.GetHeight() - rSize.Height() ) / 2; in PaintItem()
2192 const Rectangle& rRect = GetBoundingRect( pEntry ); in InvalidateEntry() local
2193 pView->Invalidate( rRect ); in InvalidateEntry()
2659 const Rectangle& rRect = GetBoundingRect( pRefEntry ); in ShowDDIcon() local
2660 pDDDev->SetOutputSizePixel( rRect.GetSize() ); in ShowDDIcon()
2706 const Rectangle& rRect = GetBoundingRect( pRefEntry ); in HideShowDDIcon() local
2707 Size aEntrySize( rRect.GetSize() ); in HideShowDDIcon()
2886 void SvImpIconView::ClipAtVirtOutRect( Rectangle& rRect ) const in ClipAtVirtOutRect()
2888 if( rRect.Bottom() >= aVirtOutputSize.Height() ) in ClipAtVirtOutRect()
2889 rRect.Bottom() = aVirtOutputSize.Height() - 1; in ClipAtVirtOutRect()
2890 if( rRect.Right() >= aVirtOutputSize.Width() ) in ClipAtVirtOutRect()
2891 rRect.Right() = aVirtOutputSize.Width() - 1; in ClipAtVirtOutRect()
2892 if( rRect.Top() < 0 ) in ClipAtVirtOutRect()
2893 rRect.Top() = 0; in ClipAtVirtOutRect()
2894 if( rRect.Left() < 0 ) in ClipAtVirtOutRect()
2895 rRect.Left() = 0; in ClipAtVirtOutRect()
2902 void SvImpIconView::MakeVisible( const Rectangle& rRect, sal_Bool bScrBar ) in MakeVisible() argument
2904 Rectangle aRect( rRect ); in MakeVisible()
3071 const Rectangle& rRect= in GetSortListPos() local
3075 nCurValue = rRect.Top(); in GetSortListPos()
3077 nCurValue = rRect.Left(); in GetSortListPos()
3105 Rectangle rRect( pView->CalcBmpRect( pEntry,0,pViewData ) ); in ImplCreate() local
3106 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / nDeltaHeight ); in ImplCreate()
3107 short nX = (short)( ((rRect.Left()+rRect.Right())/2) / nDeltaWidth ); in ImplCreate()
3115 sal_uInt16 nIns = GetSortListPos( &pColumns[nX], rRect.Top(), sal_True ); in ImplCreate()
3118 nIns = GetSortListPos( &pRows[nY], rRect.Left(), sal_False ); in ImplCreate()
3170 const Rectangle& rRect = pViewData->aRect; in CreateGridMap() local
3172 if( pView->IsBoundingRectValid( rRect )) in CreateGridMap()
3203 void ImpIcnCursor::SetGridUsed( const Rectangle& rRect, sal_Bool bUsed ) in SetGridUsed() argument
3208 sal_Bool bTLInGrid = GetGrid( rRect.TopLeft(), nTLX, nTLY ); in SetGridUsed()
3209 sal_Bool bBRInGrid = GetGrid( rRect.BottomRight(), nBRX, nBRY ); in SetGridUsed()
3264 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchCol() local
3265 if( rRect.Top() > rRefRect.Top() ) in SearchCol()
3278 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchCol() local
3279 if( rRect.Top() < rRefRect.Top() ) in SearchCol()
3304 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchCol() local
3305 long nDistance = rRect.Top() - rRefRect.Top(); in SearchCol()
3340 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchRow() local
3341 if( rRect.Left() > rRefRect.Left() ) in SearchRow()
3354 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchRow() local
3355 if( rRect.Left() < rRefRect.Left() ) in SearchRow()
3380 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchRow() local
3381 long nDistance = rRect.Left() - rRefRect.Left(); in SearchRow()
3563 sal_Bool ImpIcnCursor::FindEmptyGridRect( Rectangle& rRect ) in FindEmptyGridRect() argument
3575 rRect.Top() = nRow * nGridDY + TBOFFS_WINBORDER; in FindEmptyGridRect()
3576 rRect.Bottom() = rRect.Top() + nGridDY; in FindEmptyGridRect()
3577 rRect.Left() = nCol * nGridDX+ LROFFS_WINBORDER; in FindEmptyGridRect()
3578 rRect.Right() = rRect.Left() + nGridDX; in FindEmptyGridRect()
3589 rRect.Top() = nGridRows * nGridDY + TBOFFS_WINBORDER; in FindEmptyGridRect()
3590 rRect.Bottom() = rRect.Top() + nGridDY; in FindEmptyGridRect()
3591 rRect.Left() = LROFFS_WINBORDER; in FindEmptyGridRect()
3592 rRect.Right() = rRect.Left() + nGridDX; in FindEmptyGridRect()
3616 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in CreateGridAjustData() local
3617 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData()
3618 sal_uInt16 nIns = GetSortListPos((SvPtrarr*)rLists[nY],rRect.Left(),sal_False); in CreateGridAjustData()
3637 Rectangle rRect( pView->CalcBmpRect(pEntry) ); in CreateGridAjustData() local
3639 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData()
3642 sal_uInt16 nIns = GetSortListPos( pRow, rRect.Left(), sal_False ); in CreateGridAjustData()
3749 void SvImpIconView::SelectRect( const Rectangle& rRect, sal_Bool bAdd, in SelectRect() argument
3759 Rectangle aRect( rRect ); in SelectRect()
3816 if( rBoundRect.IsOver( rRect)) in SelectRect()
3850 void SvImpIconView::AddSelectedRect( const Rectangle& rRect, short nBorderOffs ) in AddSelectedRect() argument
3852 Rectangle* pRect = new Rectangle( rRect ); in AddSelectedRect()
3876 void SvImpIconView::DrawSelectionRect( const Rectangle& rRect ) in DrawSelectionRect() argument
3880 pView->ShowTracking( rRect, SHOWTRACK_SMALL | SHOWTRACK_WINDOW ); in DrawSelectionRect()
3881 aCurSelectionRect = rRect; in DrawSelectionRect()
3893 void SvImpIconView::ImpDrawXORRect( const Rectangle& rRect ) in ImpDrawXORRect() argument
3899 pView->DrawRect( rRect ); in ImpDrawXORRect()