Lines Matching refs:pDev
402 void ListBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ) in Draw() argument
406 Point aPos = pDev->LogicToPixel( rPos ); in Draw()
407 Size aSize = pDev->LogicToPixel( rSize ); in Draw()
408 Font aFont = mpImplLB->GetMainWindow()->GetDrawPixelFont( pDev ); in Draw()
409 OutDevType eOutDevType = pDev->GetOutDevType(); in Draw()
411 pDev->Push(); in Draw()
412 pDev->SetMapMode(); in Draw()
413 pDev->SetFont( aFont ); in Draw()
414 pDev->SetTextFillColor(); in Draw()
417 pDev->SetLineColor(); in Draw()
418 pDev->SetFillColor(); in Draw()
426 ImplDrawFrame( pDev, aRect ); in Draw()
430 pDev->SetFillColor( GetControlBackground() ); in Draw()
431 pDev->DrawRect( aRect ); in Draw()
438 pDev->SetTextColor( Color( COL_BLACK ) ); in Draw()
445 pDev->SetTextColor( rStyleSettings.GetDisableColor() ); in Draw()
449 pDev->SetTextColor( GetTextColor() ); in Draw()
453 long nOnePixel = GetDrawPixel( pDev, 1 ); in Draw()
470 long nTextHeight = pDev->GetTextHeight(); in Draw()
471 long nTextWidth = pDev->GetTextWidth( aText ); in Draw()
483 pDev->IntersectClipRegion( aClip ); in Draw()
486 pDev->DrawText( aTextRect, aText, nTextStyle ); in Draw()
490 long nTextHeight = pDev->GetTextHeight(); in Draw()
494 pDev->IntersectClipRegion( aClip ); in Draw()
505 pDev->SetFillColor( COL_BLACK ); in Draw()
506 pDev->DrawRect( Rectangle( Point( aPos.X(), aPos.Y() + n*nTextHeight ), in Draw()
508 pDev->SetFillColor(); in Draw()
509 pDev->SetTextColor( COL_WHITE ); in Draw()
515 pDev->DrawText( aTextRect, mpImplLB->GetEntryList()->GetEntryText( nEntry ), nTextStyle ); in Draw()
518 pDev->SetTextColor( COL_BLACK ); in Draw()
522 pDev->Pop(); in Draw()