Lines Matching refs:aRect
373 Rectangle aRect = ImplGetTabRect( nLastPos, nWidth, nHeight ); in ImplGetTabRect() local
375 long nH = nHeight-aRect.Bottom()-TAB_OFFSET*2; in ImplGetTabRect()
376 aRect = (nW > 0 && nH > 0) in ImplGetTabRect()
377 ? Rectangle( Point( TAB_OFFSET, aRect.Bottom()+TAB_OFFSET ), Size( nW, nH ) ) in ImplGetTabRect()
379 return aRect; in ImplGetTabRect()
563 Rectangle aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage() local
567 aRect.Left() = 0; in ImplChangeTabPage()
568 aRect.Top() = 0; in ImplChangeTabPage()
569 aRect.Right() = Control::GetOutputSizePixel().Width(); in ImplChangeTabPage()
573 aRect.Left() -= 3; in ImplChangeTabPage()
574 aRect.Top() -= 2; in ImplChangeTabPage()
575 aRect.Right() += 3; in ImplChangeTabPage()
576 Invalidate( aRect ); in ImplChangeTabPage()
578 aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage()
579 aRect.Left() -= 3; in ImplChangeTabPage()
580 aRect.Top() -= 2; in ImplChangeTabPage()
581 aRect.Right() += 3; in ImplChangeTabPage()
583 Invalidate( aRect ); in ImplChangeTabPage()
589 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplChangeTabPage() local
602 pPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); in ImplChangeTabPage()
641 aRect.Left() -= TAB_OFFSET; in ImplChangeTabPage()
642 aRect.Top() -= TAB_OFFSET; in ImplChangeTabPage()
643 aRect.Right() += TAB_OFFSET; in ImplChangeTabPage()
644 aRect.Bottom() += TAB_OFFSET; in ImplChangeTabPage()
647 Invalidate( aRect ); in ImplChangeTabPage()
658 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplPosCurTabPage() local
659 pItem->mpTabPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); in ImplPosCurTabPage()
701 Rectangle aRect = ImplGetTabRect( nCurPos ); in ImplShowFocus() local
703 Size aTabSize = aRect.GetSize(); in ImplShowFocus()
724 …aRect.Left() = aRect.Left()+aImageSize.Width()+((aTabSize.Width()-nTextWidth-aImageSize.Width())… in ImplShowFocus()
725 aRect.Top() = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-1-1; in ImplShowFocus()
726 aRect.Right() = aRect.Left()+nTextWidth+2; in ImplShowFocus()
727 aRect.Bottom() = aRect.Top()+nTextHeight+2; in ImplShowFocus()
732 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-1; in ImplShowFocus()
733 long nYPos = aRect.Top(); in ImplShowFocus()
734 if( aImageSize.Height() < aRect.GetHeight() ) in ImplShowFocus()
735 nYPos += (aRect.GetHeight() - aImageSize.Height())/2; in ImplShowFocus()
737 aRect.Left() = nXPos - 2; in ImplShowFocus()
738 aRect.Top() = nYPos - 2; in ImplShowFocus()
739 aRect.Right() = aRect.Left() + aImageSize.Width() + 4; in ImplShowFocus()
740 aRect.Bottom() = aRect.Top() + aImageSize.Height() + 4; in ImplShowFocus()
742 ShowFocus( aRect ); in ImplShowFocus()
766 Rectangle aRect = pItem->maRect; in ImplDrawItem() local
767 long nLeftBottom = aRect.Bottom(); in ImplDrawItem()
768 long nRightBottom = aRect.Bottom(); in ImplDrawItem()
791 Point aLeftTestPos = aRect.BottomLeft(); in ImplDrawItem()
792 Point aRightTestPos = aRect.BottomRight(); in ImplDrawItem()
858 …DrawPixel( Point( aRect.Left()+1-nOff2, aRect.Top()+1-nOff2 ) ); // diagonally indented top-left p… in ImplDrawItem()
861 DrawLine( Point( aRect.Left()-nOff2, aRect.Top()+2-nOff2 ), in ImplDrawItem()
862 Point( aRect.Left()-nOff2, nLeftBottom-1 ) ); in ImplDrawItem()
864 …DrawLine( Point( aRect.Left()+2-nOff2, aRect.Top()-nOff2 ), // top line starting 2px from left bor… in ImplDrawItem()
865 … Point( aRect.Right()+nOff2-3, aRect.Top()-nOff2 ) ); // ending 3px from right border in ImplDrawItem()
870 DrawLine( Point( aRect.Right()+nOff2-2, aRect.Top()+1-nOff2 ), in ImplDrawItem()
871 Point( aRect.Right()+nOff2-2, nRightBottom-1 ) ); in ImplDrawItem()
874 DrawLine( Point( aRect.Right()+nOff2-1, aRect.Top()+3-nOff2 ), in ImplDrawItem()
875 Point( aRect.Right()+nOff2-1, nRightBottom-1 ) ); in ImplDrawItem()
881 DrawPixel( Point( aRect.Left()+1-nOff2, aRect.Top()+1-nOff2 ) ); in ImplDrawItem()
882 DrawPixel( Point( aRect.Right()+nOff2-2, aRect.Top()+1-nOff2 ) ); in ImplDrawItem()
885 DrawLine( Point( aRect.Left()-nOff2, aRect.Top()+2-nOff2 ), in ImplDrawItem()
886 Point( aRect.Left()-nOff2, nLeftBottom-1 ) ); in ImplDrawItem()
888 DrawLine( Point( aRect.Left()+2-nOff2, aRect.Top()-nOff2 ), in ImplDrawItem()
889 Point( aRect.Right()-3, aRect.Top()-nOff2 ) ); in ImplDrawItem()
892 DrawLine( Point( aRect.Right()+nOff2-1, aRect.Top()+2-nOff2 ), in ImplDrawItem()
893 Point( aRect.Right()+nOff2-1, nRightBottom-1 ) ); in ImplDrawItem()
904 mpTabCtrlData->maTabRectangles.push_back( aRect ); in ImplDrawItem()
914 Size aTabSize = aRect.GetSize(); in ImplDrawItem()
924 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-nOff3; in ImplDrawItem()
925 long nYPos = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-nOff3; in ImplDrawItem()
941 Point aImgTL( nXPos, aRect.Top() ); in ImplDrawItem()
942 if( aImageSize.Height() < aRect.GetHeight() ) in ImplDrawItem()
943 aImgTL.Y() += (aRect.GetHeight() - aImageSize.Height())/2; in ImplDrawItem()
1060 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in ImplPaint() local
1078 aRect.Left() -= TAB_OFFSET; in ImplPaint()
1079 aRect.Top() -= TAB_OFFSET; in ImplPaint()
1080 aRect.Right() += TAB_OFFSET; in ImplPaint()
1081 aRect.Bottom() += TAB_OFFSET; in ImplPaint()
1092 aRect.Left()-=10; in ImplPaint()
1093 aRect.Right()+=10; in ImplPaint()
1109 aClipRgn.Intersect( aRect ); in ImplPaint()
1114 bNativeOK = DrawNativeControl( CTRL_TAB_PANE, part, aRect, nState, in ImplPaint()
1127 DrawLine( aRect.TopLeft(), Point( aCurRect.Left()-2, aRect.Top() ) ); in ImplPaint()
1128 if ( aCurRect.Right()+1 < aRect.Right() ) in ImplPaint()
1131 DrawLine( Point( aCurRect.Right(), aRect.Top() ), aRect.TopRight() ); in ImplPaint()
1138 DrawLine( aRect.TopLeft(), aRect.TopRight() ); in ImplPaint()
1142 DrawLine( aRect.TopLeft(), aRect.BottomLeft() ); in ImplPaint()
1152 DrawLine( Point( 1, aRect.Bottom()-1 ), in ImplPaint()
1153 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint()
1154 DrawLine( Point( aRect.Right()-1, aRect.Top()+nTopOff ), in ImplPaint()
1155 Point( aRect.Right()-1, aRect.Bottom()-1 ) ); in ImplPaint()
1160 DrawLine( Point( 0, aRect.Bottom() ), in ImplPaint()
1161 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint()
1162 DrawLine( Point( aRect.Right(), aRect.Top()+nTopOff ), in ImplPaint()
1163 Point( aRect.Right(), aRect.Bottom() ) ); in ImplPaint()
1167 DrawLine( aRect.TopRight(), aRect.BottomRight() ); in ImplPaint()
1168 DrawLine( aRect.BottomLeft(), aRect.BottomRight() ); in ImplPaint()
1275 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT ); in Resize() local
1276 aRect.Left() -= TAB_OFFSET+TAB_BORDER_LEFT; in Resize()
1277 aRect.Top() -= TAB_OFFSET+TAB_BORDER_TOP; in Resize()
1278 aRect.Right() += TAB_OFFSET+TAB_BORDER_RIGHT; in Resize()
1279 aRect.Bottom() += TAB_OFFSET+TAB_BORDER_BOTTOM; in Resize()
1281 Invalidate( aRect, INVALIDATE_NOCHILDREN ); in Resize()
1283 Invalidate( aRect ); in Resize()
1541 Rectangle aRect(*pLastRect); in PreNotify() local
1542 aRect.nLeft-=2; in PreNotify()
1543 aRect.nRight+=2; in PreNotify()
1544 aRect.nTop-=3; in PreNotify()
1545 aClipRgn.Union( aRect ); in PreNotify()
1552 Rectangle aRect(*pRect); in PreNotify() local
1553 aRect.nLeft-=2; in PreNotify()
1554 aRect.nRight+=2; in PreNotify()
1555 aRect.nTop-=3; in PreNotify()
1556 aClipRgn.Union( aRect ); in PreNotify()
1605 Rectangle aRect = ImplGetTabRect( TAB_PAGERECT, in SetTabPageSizePixel() local
1607 aNewSize.Height() += aRect.Top()+TAB_OFFSET; in SetTabPageSizePixel()
1615 Rectangle aRect = ((TabControl*)this)->ImplGetTabRect( TAB_PAGERECT ); in GetTabPageSizePixel() local
1616 return aRect.GetSize(); in GetTabPageSizePixel()