Lines Matching refs:rRect

43 static void ImplDrawSymbol( OutputDevice* pDev, const Rectangle& rRect,  in ImplDrawSymbol()  argument
47 long nMin = Min( rRect.GetWidth(), rRect.GetHeight() ); in ImplDrawSymbol()
52 Point aCenter = rRect.Center(); in ImplDrawSymbol()
443 Point aPos1( bRTL ? rRect.Right() : rRect.Left(), in ImplDrawSymbol()
444 rRect.Bottom() - rRect.GetHeight() / 3 ); in ImplDrawSymbol()
445 … Point aPos2( bRTL ? rRect.Right() - rRect.GetWidth()/3 : rRect.Left() + rRect.GetWidth()/3, in ImplDrawSymbol()
446 rRect.Bottom() ); in ImplDrawSymbol()
447 Point aPos3( bRTL ? rRect.TopLeft() : rRect.TopRight() ); in ImplDrawSymbol()
467 if ( --nX < rRect.Left() ) in ImplDrawSymbol()
471 if ( ++nX > rRect.Right() ) in ImplDrawSymbol()
569 void DecorationView::DrawSymbol( const Rectangle& rRect, SymbolType eType, in DrawSymbol() argument
573 Rectangle aRect = mpOutDev->LogicToPixel( rRect ); in DrawSymbol()
616 void DecorationView::DrawFrame( const Rectangle& rRect, in DrawFrame() argument
620 Rectangle aRect = mpOutDev->LogicToPixel( rRect ); in DrawFrame()
634 void DecorationView::DrawHighlightFrame( const Rectangle& rRect, in DrawHighlightFrame() argument
679 DrawFrame( rRect, aLightColor, aShadowColor ); in DrawHighlightFrame()
684 static void ImplDrawDPILineRect( OutputDevice* pDev, Rectangle& rRect, in ImplDrawDPILineRect() argument
702 pDev->DrawLine( Point( rRect.Left()+1, rRect.Top()), Point( rRect.Right()-1, rRect.Top()) ); in ImplDrawDPILineRect()
703 … pDev->DrawLine( Point( rRect.Left()+1, rRect.Bottom()), Point( rRect.Right()-1, rRect.Bottom()) ); in ImplDrawDPILineRect()
704 … pDev->DrawLine( Point( rRect.Left(), rRect.Top()+1), Point( rRect.Left(), rRect.Bottom()-1) ); in ImplDrawDPILineRect()
705 … pDev->DrawLine( Point( rRect.Right(), rRect.Top()+1), Point( rRect.Right(), rRect.Bottom()-1) ); in ImplDrawDPILineRect()
708 pDev->DrawRect( rRect ); in ImplDrawDPILineRect()
712 long nWidth = rRect.GetWidth(); in ImplDrawDPILineRect()
713 long nHeight = rRect.GetHeight(); in ImplDrawDPILineRect()
716 pDev->DrawRect( Rectangle( rRect.TopLeft(), Size( nWidth, nLineHeight ) ) ); in ImplDrawDPILineRect()
717 pDev->DrawRect( Rectangle( rRect.TopLeft(), Size( nLineWidth, nHeight ) ) ); in ImplDrawDPILineRect()
718 pDev->DrawRect( Rectangle( Point( rRect.Left(), rRect.Bottom()-nLineHeight ), in ImplDrawDPILineRect()
720 pDev->DrawRect( Rectangle( Point( rRect.Right()-nLineWidth, rRect.Top() ), in ImplDrawDPILineRect()
725 rRect.Left() += nLineWidth; in ImplDrawDPILineRect()
726 rRect.Top() += nLineHeight; in ImplDrawDPILineRect()
727 rRect.Right() -= nLineWidth; in ImplDrawDPILineRect()
728 rRect.Bottom() -= nLineHeight; in ImplDrawDPILineRect()
733 static void ImplDrawFrame( OutputDevice* pDev, Rectangle& rRect, in ImplDrawFrame() argument
777 Rectangle aNatRgn( rRect ); in ImplDrawFrame()
781 rRect = aContent; in ImplDrawFrame()
784 ImplDrawDPILineRect( pDev, rRect, NULL, bRound ); in ImplDrawFrame()
791 rRect.Left() += 2; in ImplDrawFrame()
792 rRect.Top() += 2; in ImplDrawFrame()
793 rRect.Right() -= 2; in ImplDrawFrame()
794 rRect.Bottom() -= 2; in ImplDrawFrame()
799 rRect.Left()++; in ImplDrawFrame()
800 rRect.Top()++; in ImplDrawFrame()
801 rRect.Right()--; in ImplDrawFrame()
802 rRect.Bottom()--; in ImplDrawFrame()
806 rRect.Left() += 2; in ImplDrawFrame()
807 rRect.Top() += 2; in ImplDrawFrame()
808 rRect.Right() -= 2; in ImplDrawFrame()
809 rRect.Bottom() -= 2; in ImplDrawFrame()
822 Rectangle aNatRgn( rRect ); in ImplDrawFrame()
829 rRect = aContent; in ImplDrawFrame()
850 ImplDrawDPILineRect( pDev, rRect, &aColor, bRound ); in ImplDrawFrame()
859 rRect.Top()++; in ImplDrawFrame()
860 rRect.Left()++; in ImplDrawFrame()
861 pDev->DrawRect( rRect ); in ImplDrawFrame()
862 rRect.Top()--; in ImplDrawFrame()
863 rRect.Left()--; in ImplDrawFrame()
865 rRect.Right()--; in ImplDrawFrame()
866 rRect.Bottom()--; in ImplDrawFrame()
867 pDev->DrawRect( rRect ); in ImplDrawFrame()
868 rRect.Right()++; in ImplDrawFrame()
869 rRect.Bottom()++; in ImplDrawFrame()
880 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
886 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
891 rRect.Left()++; in ImplDrawFrame()
892 rRect.Top()++; in ImplDrawFrame()
893 rRect.Right()--; in ImplDrawFrame()
894 rRect.Bottom()--; in ImplDrawFrame()
901 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
905 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
912 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
916 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
924 rRect.Left()++; in ImplDrawFrame()
925 rRect.Top()++; in ImplDrawFrame()
926 rRect.Right()--; in ImplDrawFrame()
927 rRect.Bottom()--; in ImplDrawFrame()
933 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
937 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
945 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
953 rRect.Left()++; in ImplDrawFrame()
954 rRect.Top()++; in ImplDrawFrame()
955 rRect.Right()--; in ImplDrawFrame()
956 rRect.Bottom()--; in ImplDrawFrame()
966 Rectangle DecorationView::DrawFrame( const Rectangle& rRect, sal_uInt16 nStyle ) in DrawFrame() argument
968 Rectangle aRect = rRect; in DrawFrame()
976 if ( !rRect.IsEmpty() ) in DrawFrame()
1001 static void ImplDrawButton( OutputDevice* pDev, Rectangle& rRect, in ImplDrawButton() argument
1004 Rectangle aFillRect = rRect; in ImplDrawButton()
1167 rRect.Left()++; in ImplDrawButton()
1168 rRect.Top()++; in ImplDrawButton()
1169 rRect.Right()--; in ImplDrawButton()
1170 rRect.Bottom()--; in ImplDrawButton()
1174 rRect.Left()++; in ImplDrawButton()
1175 rRect.Top()++; in ImplDrawButton()
1178 rRect.Left()++; in ImplDrawButton()
1182 if ( (rRect.GetHeight() > 10) && (rRect.GetWidth() > 10) ) in ImplDrawButton()
1184 rRect.Left() += 4; in ImplDrawButton()
1185 rRect.Top() += 4; in ImplDrawButton()
1186 rRect.Right() -= 1; in ImplDrawButton()
1187 rRect.Bottom() -= 1; in ImplDrawButton()
1191 rRect.Left() += 3; in ImplDrawButton()
1192 rRect.Top() += 3; in ImplDrawButton()
1193 rRect.Right() -= 2; in ImplDrawButton()
1194 rRect.Bottom() -= 2; in ImplDrawButton()
1199 rRect.Left() += 3; in ImplDrawButton()
1200 rRect.Top() += 3; in ImplDrawButton()
1201 rRect.Right() -= 2; in ImplDrawButton()
1202 rRect.Bottom() -= 2; in ImplDrawButton()
1206 rRect.Left() += 2; in ImplDrawButton()
1207 rRect.Top() += 2; in ImplDrawButton()
1208 rRect.Right() -= 3; in ImplDrawButton()
1209 rRect.Bottom() -= 3; in ImplDrawButton()
1215 Rectangle DecorationView::DrawButton( const Rectangle& rRect, sal_uInt16 nStyle ) in DrawButton() argument
1217 Rectangle aRect = rRect; in DrawButton()
1225 if ( !rRect.IsEmpty() ) in DrawButton()