Lines Matching refs:aRect

377         Rectangle aRect = ImplGetTabRect( nLastPos, nWidth, nHeight );  in ImplGetTabRect()  local
379 long nH = nHeight-aRect.Bottom()-TAB_OFFSET*2; in ImplGetTabRect()
380 aRect = (nW > 0 && nH > 0) in ImplGetTabRect()
381 ? Rectangle( Point( TAB_OFFSET, aRect.Bottom()+TAB_OFFSET ), Size( nW, nH ) ) in ImplGetTabRect()
383 return aRect; in ImplGetTabRect()
567 Rectangle aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage() local
571 aRect.Left() = 0; in ImplChangeTabPage()
572 aRect.Top() = 0; in ImplChangeTabPage()
573 aRect.Right() = Control::GetOutputSizePixel().Width(); in ImplChangeTabPage()
577 aRect.Left() -= 3; in ImplChangeTabPage()
578 aRect.Top() -= 2; in ImplChangeTabPage()
579 aRect.Right() += 3; in ImplChangeTabPage()
580 Invalidate( aRect ); in ImplChangeTabPage()
582 aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage()
583 aRect.Left() -= 3; in ImplChangeTabPage()
584 aRect.Top() -= 2; in ImplChangeTabPage()
585 aRect.Right() += 3; in ImplChangeTabPage()
587 Invalidate( aRect ); in ImplChangeTabPage()
593 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplChangeTabPage() local
606 pPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); in ImplChangeTabPage()
645 aRect.Left() -= TAB_OFFSET; in ImplChangeTabPage()
646 aRect.Top() -= TAB_OFFSET; in ImplChangeTabPage()
647 aRect.Right() += TAB_OFFSET; in ImplChangeTabPage()
648 aRect.Bottom() += TAB_OFFSET; in ImplChangeTabPage()
651 Invalidate( aRect ); in ImplChangeTabPage()
662 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplPosCurTabPage() local
663 pItem->mpTabPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); in ImplPosCurTabPage()
705 Rectangle aRect = ImplGetTabRect( nCurPos ); in ImplShowFocus() local
707 Size aTabSize = aRect.GetSize(); in ImplShowFocus()
728aRect.Left() = aRect.Left()+aImageSize.Width()+((aTabSize.Width()-nTextWidth-aImageSize.Width())… in ImplShowFocus()
729 aRect.Top() = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-1-1; in ImplShowFocus()
730 aRect.Right() = aRect.Left()+nTextWidth+2; in ImplShowFocus()
731 aRect.Bottom() = aRect.Top()+nTextHeight+2; in ImplShowFocus()
736 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-1; in ImplShowFocus()
737 long nYPos = aRect.Top(); in ImplShowFocus()
738 if( aImageSize.Height() < aRect.GetHeight() ) in ImplShowFocus()
739 nYPos += (aRect.GetHeight() - aImageSize.Height())/2; in ImplShowFocus()
741 aRect.Left() = nXPos - 2; in ImplShowFocus()
742 aRect.Top() = nYPos - 2; in ImplShowFocus()
743 aRect.Right() = aRect.Left() + aImageSize.Width() + 4; in ImplShowFocus()
744 aRect.Bottom() = aRect.Top() + aImageSize.Height() + 4; in ImplShowFocus()
746 ShowFocus( aRect ); in ImplShowFocus()
770 Rectangle aRect = pItem->maRect; in ImplDrawItem() local
771 long nLeftBottom = aRect.Bottom(); in ImplDrawItem()
772 long nRightBottom = aRect.Bottom(); in ImplDrawItem()
795 Point aLeftTestPos = aRect.BottomLeft(); in ImplDrawItem()
796 Point aRightTestPos = aRect.BottomRight(); in ImplDrawItem()
862 …DrawPixel( Point( aRect.Left()+1-nOff2, aRect.Top()+1-nOff2 ) ); // diagonally indented top-lef… in ImplDrawItem()
865 DrawLine( Point( aRect.Left()-nOff2, aRect.Top()+2-nOff2 ), in ImplDrawItem()
866 Point( aRect.Left()-nOff2, nLeftBottom-1 ) ); in ImplDrawItem()
868 …DrawLine( Point( aRect.Left()+2-nOff2, aRect.Top()-nOff2 ), // top line starting 2px from … in ImplDrawItem()
869 … Point( aRect.Right()+nOff2-3, aRect.Top()-nOff2 ) ); // ending 3px from right border in ImplDrawItem()
874 DrawLine( Point( aRect.Right()+nOff2-2, aRect.Top()+1-nOff2 ), in ImplDrawItem()
875 Point( aRect.Right()+nOff2-2, nRightBottom-1 ) ); in ImplDrawItem()
878 DrawLine( Point( aRect.Right()+nOff2-1, aRect.Top()+3-nOff2 ), in ImplDrawItem()
879 Point( aRect.Right()+nOff2-1, nRightBottom-1 ) ); in ImplDrawItem()
885 DrawPixel( Point( aRect.Left()+1-nOff2, aRect.Top()+1-nOff2 ) ); in ImplDrawItem()
886 DrawPixel( Point( aRect.Right()+nOff2-2, aRect.Top()+1-nOff2 ) ); in ImplDrawItem()
889 DrawLine( Point( aRect.Left()-nOff2, aRect.Top()+2-nOff2 ), in ImplDrawItem()
890 Point( aRect.Left()-nOff2, nLeftBottom-1 ) ); in ImplDrawItem()
892 DrawLine( Point( aRect.Left()+2-nOff2, aRect.Top()-nOff2 ), in ImplDrawItem()
893 Point( aRect.Right()-3, aRect.Top()-nOff2 ) ); in ImplDrawItem()
896 DrawLine( Point( aRect.Right()+nOff2-1, aRect.Top()+2-nOff2 ), in ImplDrawItem()
897 Point( aRect.Right()+nOff2-1, nRightBottom-1 ) ); in ImplDrawItem()
908 mpTabCtrlData->maTabRectangles.push_back( aRect ); in ImplDrawItem()
918 Size aTabSize = aRect.GetSize(); in ImplDrawItem()
928 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-nOff3; in ImplDrawItem()
929 long nYPos = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-nOff3; in ImplDrawItem()
945 Point aImgTL( nXPos, aRect.Top() ); in ImplDrawItem()
946 if( aImageSize.Height() < aRect.GetHeight() ) in ImplDrawItem()
947 aImgTL.Y() += (aRect.GetHeight() - aImageSize.Height())/2; in ImplDrawItem()
1066 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplPaint() local
1084 aRect.Left() -= TAB_OFFSET; in ImplPaint()
1085 aRect.Top() -= TAB_OFFSET; in ImplPaint()
1086 aRect.Right() += TAB_OFFSET; in ImplPaint()
1087 aRect.Bottom() += TAB_OFFSET; in ImplPaint()
1098 aRect.Left()-=10; in ImplPaint()
1099 aRect.Right()+=10; in ImplPaint()
1115 aClipRgn.Intersect( aRect ); in ImplPaint()
1120 bNativeOK = DrawNativeControl( CTRL_TAB_PANE, part, aRect, nState, in ImplPaint()
1133 DrawLine( aRect.TopLeft(), Point( aCurRect.Left()-2, aRect.Top() ) ); in ImplPaint()
1134 if ( aCurRect.Right()+1 < aRect.Right() ) in ImplPaint()
1137 DrawLine( Point( aCurRect.Right(), aRect.Top() ), aRect.TopRight() ); in ImplPaint()
1144 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in ImplPaint()
1148 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplPaint()
1158 DrawLine( Point( 1, aRect.Bottom()-1 ), in ImplPaint()
1159 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint()
1160 DrawLine( Point( aRect.Right()-1, aRect.Top()+nTopOff ), in ImplPaint()
1161 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint()
1166 DrawLine( Point( 0, aRect.Bottom() ), in ImplPaint()
1167 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint()
1168 DrawLine( Point( aRect.Right(), aRect.Top()+nTopOff ), in ImplPaint()
1169 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint()
1173 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplPaint()
1174 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in ImplPaint()
1281 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in Resize() local
1282 aRect.Left() -= TAB_OFFSET+TAB_BORDER_LEFT; in Resize()
1283 aRect.Top() -= TAB_OFFSET+TAB_BORDER_TOP; in Resize()
1284 aRect.Right() += TAB_OFFSET+TAB_BORDER_RIGHT; in Resize()
1285 aRect.Bottom() += TAB_OFFSET+TAB_BORDER_BOTTOM; in Resize()
1287 Invalidate( aRect, INVALIDATE_NOCHILDREN ); in Resize()
1289 Invalidate( aRect ); in Resize()
1547 Rectangle aRect(*pLastRect); in PreNotify() local
1548 aRect.nLeft-=2; in PreNotify()
1549 aRect.nRight+=2; in PreNotify()
1550 aRect.nTop-=3; in PreNotify()
1551 aClipRgn.Union( aRect ); in PreNotify()
1558 Rectangle aRect(*pRect); in PreNotify() local
1559 aRect.nLeft-=2; in PreNotify()
1560 aRect.nRight+=2; in PreNotify()
1561 aRect.nTop-=3; in PreNotify()
1562 aClipRgn.Union( aRect ); in PreNotify()
1611 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT, in SetTabPageSizePixel() local
1613 aNewSize.Height() += aRect.Top()+TAB_OFFSET; in SetTabPageSizePixel()
1621 Rectangle aRect = ((TabControl*)this)->ImplGetTabRect( TAB_PAGERECT ); in GetTabPageSizePixel() local
1622 return aRect.GetSize(); in GetTabPageSizePixel()