Lines Matching refs:aRect

375 		Rectangle aRect = ImplGetTabRect( nLastPos, nWidth, nHeight );  in ImplGetTabRect()  local
377 long nH = nHeight-aRect.Bottom()-TAB_OFFSET*2; in ImplGetTabRect()
378 aRect = (nW > 0 && nH > 0) in ImplGetTabRect()
379 ? Rectangle( Point( TAB_OFFSET, aRect.Bottom()+TAB_OFFSET ), Size( nW, nH ) ) in ImplGetTabRect()
381 return aRect; in ImplGetTabRect()
565 Rectangle aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage() local
569 aRect.Left() = 0; in ImplChangeTabPage()
570 aRect.Top() = 0; in ImplChangeTabPage()
571 aRect.Right() = Control::GetOutputSizePixel().Width(); in ImplChangeTabPage()
575 aRect.Left() -= 3; in ImplChangeTabPage()
576 aRect.Top() -= 2; in ImplChangeTabPage()
577 aRect.Right() += 3; in ImplChangeTabPage()
578 Invalidate( aRect ); in ImplChangeTabPage()
580 aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage()
581 aRect.Left() -= 3; in ImplChangeTabPage()
582 aRect.Top() -= 2; in ImplChangeTabPage()
583 aRect.Right() += 3; in ImplChangeTabPage()
585 Invalidate( aRect ); in ImplChangeTabPage()
591 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplChangeTabPage() local
604 pPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); in ImplChangeTabPage()
643 aRect.Left() -= TAB_OFFSET; in ImplChangeTabPage()
644 aRect.Top() -= TAB_OFFSET; in ImplChangeTabPage()
645 aRect.Right() += TAB_OFFSET; in ImplChangeTabPage()
646 aRect.Bottom() += TAB_OFFSET; in ImplChangeTabPage()
649 Invalidate( aRect ); in ImplChangeTabPage()
660 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplPosCurTabPage() local
661 pItem->mpTabPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); in ImplPosCurTabPage()
703 Rectangle aRect = ImplGetTabRect( nCurPos ); in ImplShowFocus() local
705 Size aTabSize = aRect.GetSize(); in ImplShowFocus()
726aRect.Left() = aRect.Left()+aImageSize.Width()+((aTabSize.Width()-nTextWidth-aImageSize.Width())… in ImplShowFocus()
727 aRect.Top() = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-1-1; in ImplShowFocus()
728 aRect.Right() = aRect.Left()+nTextWidth+2; in ImplShowFocus()
729 aRect.Bottom() = aRect.Top()+nTextHeight+2; in ImplShowFocus()
734 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-1; in ImplShowFocus()
735 long nYPos = aRect.Top(); in ImplShowFocus()
736 if( aImageSize.Height() < aRect.GetHeight() ) in ImplShowFocus()
737 nYPos += (aRect.GetHeight() - aImageSize.Height())/2; in ImplShowFocus()
739 aRect.Left() = nXPos - 2; in ImplShowFocus()
740 aRect.Top() = nYPos - 2; in ImplShowFocus()
741 aRect.Right() = aRect.Left() + aImageSize.Width() + 4; in ImplShowFocus()
742 aRect.Bottom() = aRect.Top() + aImageSize.Height() + 4; in ImplShowFocus()
744 ShowFocus( aRect ); in ImplShowFocus()
768 Rectangle aRect = pItem->maRect; in ImplDrawItem() local
769 long nLeftBottom = aRect.Bottom(); in ImplDrawItem()
770 long nRightBottom = aRect.Bottom(); in ImplDrawItem()
793 Point aLeftTestPos = aRect.BottomLeft(); in ImplDrawItem()
794 Point aRightTestPos = aRect.BottomRight(); in ImplDrawItem()
860 …DrawPixel( Point( aRect.Left()+1-nOff2, aRect.Top()+1-nOff2 ) ); // diagonally indented top-left p… in ImplDrawItem()
863 DrawLine( Point( aRect.Left()-nOff2, aRect.Top()+2-nOff2 ), in ImplDrawItem()
864 Point( aRect.Left()-nOff2, nLeftBottom-1 ) ); in ImplDrawItem()
866 …DrawLine( Point( aRect.Left()+2-nOff2, aRect.Top()-nOff2 ), // top line starting 2px from left bor… in ImplDrawItem()
867 Point( aRect.Right()+nOff2-3, aRect.Top()-nOff2 ) ); // ending 3px from right border in ImplDrawItem()
872 DrawLine( Point( aRect.Right()+nOff2-2, aRect.Top()+1-nOff2 ), in ImplDrawItem()
873 Point( aRect.Right()+nOff2-2, nRightBottom-1 ) ); in ImplDrawItem()
876 DrawLine( Point( aRect.Right()+nOff2-1, aRect.Top()+3-nOff2 ), in ImplDrawItem()
877 Point( aRect.Right()+nOff2-1, nRightBottom-1 ) ); in ImplDrawItem()
883 DrawPixel( Point( aRect.Left()+1-nOff2, aRect.Top()+1-nOff2 ) ); in ImplDrawItem()
884 DrawPixel( Point( aRect.Right()+nOff2-2, aRect.Top()+1-nOff2 ) ); in ImplDrawItem()
887 DrawLine( Point( aRect.Left()-nOff2, aRect.Top()+2-nOff2 ), in ImplDrawItem()
888 Point( aRect.Left()-nOff2, nLeftBottom-1 ) ); in ImplDrawItem()
890 DrawLine( Point( aRect.Left()+2-nOff2, aRect.Top()-nOff2 ), in ImplDrawItem()
891 Point( aRect.Right()-3, aRect.Top()-nOff2 ) ); in ImplDrawItem()
894 DrawLine( Point( aRect.Right()+nOff2-1, aRect.Top()+2-nOff2 ), in ImplDrawItem()
895 Point( aRect.Right()+nOff2-1, nRightBottom-1 ) ); in ImplDrawItem()
906 mpTabCtrlData->maTabRectangles.push_back( aRect ); in ImplDrawItem()
916 Size aTabSize = aRect.GetSize(); in ImplDrawItem()
926 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-nOff3; in ImplDrawItem()
927 long nYPos = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-nOff3; in ImplDrawItem()
943 Point aImgTL( nXPos, aRect.Top() ); in ImplDrawItem()
944 if( aImageSize.Height() < aRect.GetHeight() ) in ImplDrawItem()
945 aImgTL.Y() += (aRect.GetHeight() - aImageSize.Height())/2; in ImplDrawItem()
1064 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplPaint() local
1082 aRect.Left() -= TAB_OFFSET; in ImplPaint()
1083 aRect.Top() -= TAB_OFFSET; in ImplPaint()
1084 aRect.Right() += TAB_OFFSET; in ImplPaint()
1085 aRect.Bottom() += TAB_OFFSET; in ImplPaint()
1096 aRect.Left()-=10; in ImplPaint()
1097 aRect.Right()+=10; in ImplPaint()
1113 aClipRgn.Intersect( aRect ); in ImplPaint()
1118 bNativeOK = DrawNativeControl( CTRL_TAB_PANE, part, aRect, nState, in ImplPaint()
1131 DrawLine( aRect.TopLeft(), Point( aCurRect.Left()-2, aRect.Top() ) ); in ImplPaint()
1132 if ( aCurRect.Right()+1 < aRect.Right() ) in ImplPaint()
1135 DrawLine( Point( aCurRect.Right(), aRect.Top() ), aRect.TopRight() ); in ImplPaint()
1142 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in ImplPaint()
1146 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplPaint()
1156 DrawLine( Point( 1, aRect.Bottom()-1 ), in ImplPaint()
1157 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint()
1158 DrawLine( Point( aRect.Right()-1, aRect.Top()+nTopOff ), in ImplPaint()
1159 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint()
1164 DrawLine( Point( 0, aRect.Bottom() ), in ImplPaint()
1165 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint()
1166 DrawLine( Point( aRect.Right(), aRect.Top()+nTopOff ), in ImplPaint()
1167 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint()
1171 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplPaint()
1172 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in ImplPaint()
1279 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in Resize() local
1280 aRect.Left() -= TAB_OFFSET+TAB_BORDER_LEFT; in Resize()
1281 aRect.Top() -= TAB_OFFSET+TAB_BORDER_TOP; in Resize()
1282 aRect.Right() += TAB_OFFSET+TAB_BORDER_RIGHT; in Resize()
1283 aRect.Bottom() += TAB_OFFSET+TAB_BORDER_BOTTOM; in Resize()
1285 Invalidate( aRect, INVALIDATE_NOCHILDREN ); in Resize()
1287 Invalidate( aRect ); in Resize()
1545 Rectangle aRect(*pLastRect); in PreNotify() local
1546 aRect.nLeft-=2; in PreNotify()
1547 aRect.nRight+=2; in PreNotify()
1548 aRect.nTop-=3; in PreNotify()
1549 aClipRgn.Union( aRect ); in PreNotify()
1556 Rectangle aRect(*pRect); in PreNotify() local
1557 aRect.nLeft-=2; in PreNotify()
1558 aRect.nRight+=2; in PreNotify()
1559 aRect.nTop-=3; in PreNotify()
1560 aClipRgn.Union( aRect ); in PreNotify()
1609 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT, in SetTabPageSizePixel() local
1611 aNewSize.Height() += aRect.Top()+TAB_OFFSET; in SetTabPageSizePixel()
1619 Rectangle aRect = ((TabControl*)this)->ImplGetTabRect( TAB_PAGERECT ); in GetTabPageSizePixel() local
1620 return aRect.GetSize(); in GetTabPageSizePixel()