Lines Matching refs:pDev

43 static void ImplDrawSymbol( OutputDevice* pDev, const Rectangle& rRect,  in ImplDrawSymbol()  argument
75 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
81 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
83 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
86 pDev->DrawRect( Rectangle( nCenterX-n4, nBottom, in ImplDrawSymbol()
100 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
106 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
108 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
111 pDev->DrawRect( Rectangle( nCenterX-n4, nTop-n2, in ImplDrawSymbol()
125 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
131 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
133 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
136 pDev->DrawRect( Rectangle( nRight, nCenterY-n4, in ImplDrawSymbol()
150 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
156 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
158 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
161 pDev->DrawRect( Rectangle( nLeft-n2, nCenterY-n4, in ImplDrawSymbol()
173 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
179 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
181 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
193 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
199 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
201 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
218 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
224 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
226 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
231 pDev->DrawRect( Rectangle( nCenterX-n4-1, nCenterY-n2, in ImplDrawSymbol()
248 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
254 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
256 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
261 pDev->DrawRect( Rectangle( nCenterX+n4+1, nCenterY-n2, in ImplDrawSymbol()
282 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
283 pDev->DrawRect( Rectangle( nCenterX, nTop+n2+1, nCenterX, nBottom+n2+1 ) ); in ImplDrawSymbol()
289 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
290 pDev->DrawRect( Rectangle( nTemp, nTop+n2+1, nTemp, nBottom+n2+1 ) ); in ImplDrawSymbol()
292 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
293 pDev->DrawRect( Rectangle( nTemp, nTop+n2+1, nTemp, nBottom+n2+1 ) ); in ImplDrawSymbol()
316 pDev->DrawMask( Point( nCenterX - n2, nCenterY - n2 ), aBmp, pDev->GetFillColor() ); in ImplDrawSymbol()
319 pDev->DrawPolygon( Polygon( Point( nCenterX, nCenterY ), n2, n2 ) ); in ImplDrawSymbol()
329 pDev->DrawRect( Rectangle( nLeft, nTop, nRight, nBottom ) ); in ImplDrawSymbol()
339 pDev->DrawRect( Rectangle( nLeft, nTop, nCenterX-2, nBottom ) ); in ImplDrawSymbol()
340 pDev->DrawRect( Rectangle( nCenterX+1, nTop, nRight, nBottom ) ); in ImplDrawSymbol()
349 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
350 pDev->DrawRect( Rectangle( nLeft+n2, nCenterY, nRight+n2, nCenterY ) ); in ImplDrawSymbol()
356 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
357 pDev->DrawRect( Rectangle( nLeft+n2, nTemp, nRight+n2, nTemp ) ); in ImplDrawSymbol()
359 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
360 pDev->DrawRect( Rectangle( nLeft+n2, nTemp, nRight+n2, nTemp ) ); in ImplDrawSymbol()
365 pDev->DrawRect( Rectangle( nCenterX-n2, nCenterY-n2, in ImplDrawSymbol()
376 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
377 pDev->DrawRect( Rectangle( nLeft+n2, nCenterY, nRight+n2, nCenterY ) ); in ImplDrawSymbol()
383 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
384 pDev->DrawRect( Rectangle( nLeft+n2, nTemp, nRight+n2, nTemp ) ); in ImplDrawSymbol()
386 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
387 pDev->DrawRect( Rectangle( nLeft+n2, nTemp, nRight+n2, nTemp ) ); in ImplDrawSymbol()
392 pDev->DrawRect( Rectangle( nCenterX+n2, nCenterY-n2, in ImplDrawSymbol()
411 pDev->DrawRect( Rectangle( Point( nLeft+i, nTop+i ), aRectSize ) ); in ImplDrawSymbol()
412 pDev->DrawRect( Rectangle( Point( nLeft+i, nBottom-i ), aRectSize ) ); in ImplDrawSymbol()
423 pDev->DrawRect( aRect ); in ImplDrawSymbol()
429 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
432 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
435 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
442 sal_Bool bRTL = pDev->ImplHasMirroredGraphics() && pDev->IsRTLEnabled(); in ImplDrawSymbol()
457 pDev->DrawRect( Rectangle( Point( nX, nY++ ), aRectSize ) ); in ImplDrawSymbol()
469 pDev->DrawRect( Rectangle( Point( nX, nY-- ), aRectSize ) ); in ImplDrawSymbol()
481 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
487 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
489 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
494 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
500 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
502 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
513 pDev->DrawRect( aRect ); in ImplDrawSymbol()
517 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
520 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
523 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
526 pDev->DrawRect( aRect ); in ImplDrawSymbol()
530 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
533 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
536 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
543 pDev->DrawRect( aRect ); in ImplDrawSymbol()
547 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
550 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
553 pDev->DrawRect( aTempRect ); in ImplDrawSymbol()
561 pDev->DrawRect( aRect ); in ImplDrawSymbol()
684 static void ImplDrawDPILineRect( OutputDevice* pDev, Rectangle& rRect, in ImplDrawDPILineRect() argument
687 long nLineWidth = pDev->ImplGetDPIX()/300; in ImplDrawDPILineRect()
688 long nLineHeight = pDev->ImplGetDPIY()/300; in ImplDrawDPILineRect()
698 pDev->SetLineColor( *pColor ); in ImplDrawDPILineRect()
699 pDev->SetFillColor(); in ImplDrawDPILineRect()
702 pDev->DrawLine( Point( rRect.Left()+1, rRect.Top()), Point( rRect.Right()-1, rRect.Top()) ); in ImplDrawDPILineRect()
703pDev->DrawLine( Point( rRect.Left()+1, rRect.Bottom()), Point( rRect.Right()-1, rRect.Bottom()) ); in ImplDrawDPILineRect()
704pDev->DrawLine( Point( rRect.Left(), rRect.Top()+1), Point( rRect.Left(), rRect.Bottom()-1) ); in ImplDrawDPILineRect()
705pDev->DrawLine( Point( rRect.Right(), rRect.Top()+1), Point( rRect.Right(), rRect.Bottom()-1) ); in ImplDrawDPILineRect()
708 pDev->DrawRect( rRect ); in ImplDrawDPILineRect()
714 pDev->SetLineColor(); in ImplDrawDPILineRect()
715 pDev->SetFillColor( *pColor ); 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()
733 static void ImplDrawFrame( OutputDevice* pDev, Rectangle& rRect, in ImplDrawFrame() argument
741 if( pDev->GetOutDevType() == OUTDEV_WINDOW ) in ImplDrawFrame()
742 pWin = (Window*) pDev; in ImplDrawFrame()
766 (pDev->GetOutDevType() == OUTDEV_PRINTER) || in ImplDrawFrame()
784 ImplDrawDPILineRect( pDev, rRect, NULL, bRound ); in ImplDrawFrame()
838 : pDev->GetSettings().GetStyleSettings().GetMonoColor(); in ImplDrawFrame()
844 (pDev->GetSettings().GetStyleSettings().GetFaceColor().IsDark()) in ImplDrawFrame()
850 ImplDrawDPILineRect( pDev, rRect, &aColor, bRound ); in ImplDrawFrame()
857 pDev->SetFillColor(); in ImplDrawFrame()
858 pDev->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawFrame()
861 pDev->DrawRect( rRect ); in ImplDrawFrame()
864 pDev->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawFrame()
867 pDev->DrawRect( rRect ); in ImplDrawFrame()
873 pDev->SetLineColor(); in ImplDrawFrame()
880 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
886 pDev->ImplDraw2ColorFrame( rRect, 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()
933 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
937 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
945 pDev->ImplDraw2ColorFrame( rRect, in ImplDrawFrame()
1001 static void ImplDrawButton( OutputDevice* pDev, Rectangle& rRect, in ImplDrawButton() argument
1013 ImplDrawDPILineRect( pDev, aFillRect, &aBlackColor ); in ImplDrawButton()
1015 ImplDrawDPILineRect( pDev, aFillRect, &aBlackColor ); in ImplDrawButton()
1018 if ( pDev->GetOutDevType() == OUTDEV_PRINTER ) in ImplDrawButton()
1021 aBrdSize = pDev->LogicToPixel( Size( 20, 20 ), aResMapMode ); in ImplDrawButton()
1027 pDev->SetLineColor(); in ImplDrawButton()
1028 pDev->SetFillColor( aBlackColor ); in ImplDrawButton()
1053 pDev->DrawRect( aRect1 ); in ImplDrawButton()
1054 pDev->DrawRect( aRect2 ); in ImplDrawButton()
1064 ImplDrawDPILineRect( pDev, aFillRect, &aDefBtnColor ); in ImplDrawButton()
1070 pDev->SetLineColor(); in ImplDrawButton()
1073 pDev->SetFillColor( rStyleSettings.GetLightBorderColor() ); in ImplDrawButton()
1074 pDev->DrawRect( Rectangle( aFillRect.Left(), aFillRect.Top(), in ImplDrawButton()
1081 pDev->SetFillColor( rStyleSettings.GetLightBorderColor() ); in ImplDrawButton()
1082 pDev->DrawRect( Rectangle( aFillRect.Left(), aFillRect.Top(), in ImplDrawButton()
1089 pDev->SetFillColor( rStyleSettings.GetDarkShadowColor() ); in ImplDrawButton()
1090 pDev->DrawRect( Rectangle( aFillRect.Left(), aFillRect.Bottom(), in ImplDrawButton()
1113 pDev->ImplDraw2ColorFrame( aFillRect, aColor1, aColor2 ); in ImplDrawButton()
1134 pDev->ImplDraw2ColorFrame( aFillRect, aColor1, aColor2 ); in ImplDrawButton()
1145 pDev->SetLineColor(); in ImplDrawButton()
1150 if ( pDev->GetOutDevType() == OUTDEV_PRINTER ) in ImplDrawButton()
1151 pDev->SetFillColor( Color( COL_LIGHTGRAY ) ); in ImplDrawButton()
1153 pDev->SetFillColor( Color( COL_WHITE ) ); in ImplDrawButton()
1158 pDev->SetFillColor( rStyleSettings.GetCheckedColor() ); in ImplDrawButton()
1160 pDev->SetFillColor( rStyleSettings.GetFaceColor() ); in ImplDrawButton()
1162 pDev->DrawRect( aFillRect ); in ImplDrawButton()