Lines Matching refs:aRect
209 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()
356 else if ( aRect.Left() > mnDX ) in ImplDrawItem()
365 aRect.Top() += mnBorderOff1; in ImplDrawItem()
366 aRect.Bottom() -= mnBorderOff2; in ImplDrawItem()
375 pDev->DrawRect( aRect ); in ImplDrawItem()
378 pDev->DrawWallpaper( aRect, GetBackground() ); in ImplDrawItem()
383 pDev->DrawLine( Point( aRect.Right(), aRect.Top() ), in ImplDrawItem()
384 Point( aRect.Right(), aRect.Bottom() ) ); in ImplDrawItem()
390 DrawSelectionBackground( aRect, 1, sal_True, sal_False, sal_False, &aSelectionTextColor ); in ImplDrawItem()
392 DrawSelectionBackground( aRect, 0, sal_True, sal_False, sal_False, &aSelectionTextColor ); in ImplDrawItem()
395 if ( aRect.GetWidth() < 1 ) in ImplDrawItem()
412 if ( (aImageSize.Width() > aRect.GetWidth()) || (nTestHeight > aRect.GetHeight()) ) in ImplDrawItem()
420 long nMaxTxtWidth = aRect.GetWidth()-(HEADERBAR_TEXTOFF*2)-nArrowWidth; in ImplDrawItem()
446 nTxtPos = aRect.Right()-nTxtWidth-HEADERBAR_TEXTOFF; in ImplDrawItem()
455 nTxtPos = aRect.Left()+(aRect.GetWidth()-nTempWidth)/2; in ImplDrawItem()
460 if ( nTxtPos+nTxtWidth+nArrowWidth >= aRect.Right() ) in ImplDrawItem()
462 nTxtPos = aRect.Left()+HEADERBAR_TEXTOFF; in ImplDrawItem()
470 nTxtPos = aRect.Left()+HEADERBAR_TEXTOFF; in ImplDrawItem()
483 nTxtPosY = aRect.Top(); in ImplDrawItem()
488 nTxtPosY = aRect.Bottom()-aTxtSize.Height(); in ImplDrawItem()
494 nTxtPosY = aRect.Top()+((aRect.GetHeight()-nTempHeight)/2); in ImplDrawItem()
536 nImagePos = aRect.Right()-aImageSize.Width(); in ImplDrawItem()
538 nImagePos = aRect.Left()+(aRect.GetWidth()-aImageSize.Width())/2; in ImplDrawItem()
540 nImagePos = aRect.Left()+HEADERBAR_TEXTOFF; in ImplDrawItem()
544 nImagePosY = aRect.Top(); in ImplDrawItem()
547 nImagePosY = aRect.Bottom()-aImageSize.Height(); in ImplDrawItem()
556 nImagePosY = aRect.Top()+((aRect.GetHeight()-nTempHeight)/2); in ImplDrawItem()
558 if ( nImagePos+aImageSize.Width() <= aRect.Right() ) in ImplDrawItem()
584 if ( nArrowX < aRect.Left()+HEADERBAR_TEXTOFF ) in ImplDrawItem()
586 else if ( nArrowX+HEAD_ARROWSIZE2 > aRect.Right() ) in ImplDrawItem()
599 nArrowY = aRect.Top()+1; in ImplDrawItem()
601 nArrowY = aRect.Bottom()-HEAD_ARROWSIZE2-1; in ImplDrawItem()
603 nArrowY = aRect.Top()+((aRect.GetHeight()-HEAD_ARROWSIZE2)/2);; in ImplDrawItem()
634 Region aRegion( aRect ); in ImplDrawItem()
638 UserDrawEvent aODEvt( pDev, aRect, pItem->mnId ); in ImplDrawItem()
649 Rectangle aRect = ImplGetItemRect( nPos ); in ImplDrawItem() local
650 ImplDrawItem( this, nPos, bHigh, bDrag, aRect, pRect, 0 ); in ImplDrawItem()
661 Rectangle aRect; in ImplUpdate() local
664 aRect = ImplGetItemRect( nPos ); in ImplUpdate()
667 aRect.Bottom() = mnDY-1; in ImplUpdate()
669 aRect.Left() = ImplGetItemRect( nItemCount-1 ).Right(); in ImplUpdate()
672 aRect.Right() = mnDX-1; in ImplUpdate()
673 aRect.Top() += mnBorderOff1; in ImplUpdate()
674 aRect.Bottom() -= mnBorderOff2; in ImplUpdate()
675 Invalidate( aRect ); in ImplUpdate()
683 Rectangle aRect = ImplGetItemRect( (sal_uInt16)mpItemList->Count() ); in ImplUpdate() local
684 aRect.Left() = aRect.Right(); in ImplUpdate()
685 aRect.Right() = mnDX-1; in ImplUpdate()
686 if ( aRect.Left() < aRect.Right() ) in ImplUpdate()
688 aRect.Top() += mnBorderOff1; in ImplUpdate()
689 aRect.Bottom() -= mnBorderOff2; in ImplUpdate()
690 Erase( aRect ); in ImplUpdate()
1020 Rectangle aRect( aPos, aSize ); in Draw() local
1034 pDev->DrawWallpaper( aRect, GetBackground() ); in Draw()
1039 pDev->DrawLine( aRect.TopLeft(), Point( aRect.Right(), aRect.Top() ) ); in Draw()
1041 pDev->DrawLine( Point( aRect.Left(), aRect.Bottom() ), Point( aRect.Right(), aRect.Bottom() ) ); in Draw()
1045 pDev->DrawLine( aRect.TopLeft(), Point( aRect.Left(), aRect.Bottom() ) ); in Draw()
1046 …pDev->DrawLine( Point( aRect.Right(), aRect.Top() ), Point( aRect.Right(), aRect.Bottom() ) ); … in Draw()
1051 Rectangle aItemRect( aRect ); in Draw()
1056 aItemRect.Left() = aRect.Left()+ImplGetItemPos( i ); in Draw()
1061 Region aRegion( aRect ); in Draw()
1063 ImplDrawItem( pDev, i, sal_False, sal_False, aItemRect, &aRect, nFlags ); in Draw()
1358 Rectangle aRect( 0, mnBorderOff1, mnDX-1, mnDY-mnBorderOff1-mnBorderOff2-1 ); in SetOffset() local
1361 Scroll( nDelta, 0, aRect ); in SetOffset()
1417 Rectangle aRect; in GetItemRect() local
1420 aRect = ImplGetItemRect( nPos ); in GetItemRect()
1421 return aRect; in GetItemRect()