Lines Matching refs:pOutDev
56 static void ImplDrawDefault( OutputDevice* pOutDev, const UniString* pText, in ImplDrawDefault() argument
60 sal_uInt16 nPixel = (sal_uInt16) pOutDev->PixelToLogic( Size( 1, 1 ) ).Width(); in ImplDrawDefault()
67 pOutDev->Push(); in ImplDrawDefault()
69 pOutDev->SetFillColor(); in ImplDrawDefault()
72 if ( pOutDev->GetOutDevType() == OUTDEV_PRINTER ) in ImplDrawDefault()
73 pOutDev->SetLineColor( COL_BLACK ); in ImplDrawDefault()
79 pOutDev->SetLineColor( COL_LIGHTGRAY ); in ImplDrawDefault()
80 pOutDev->DrawRect( aBorderRect ); in ImplDrawDefault()
86 pOutDev->SetLineColor( COL_GRAY ); in ImplDrawDefault()
89 pOutDev->DrawRect( aBorderRect ); in ImplDrawDefault()
99 …Size aBitmapSize( pOutDev->PixelToLogic( pBitmap ? pBitmap->GetSizePixel() : pBitmapEx->GetSizePix… in ImplDrawDefault()
104 pOutDev->DrawBitmap( aPoint, *pBitmap ); in ImplDrawDefault()
106 pOutDev->DrawBitmapEx( aPoint, *pBitmapEx ); in ImplDrawDefault()
113 && !(!pOutDev->IsOutputEnabled() /*&& pOutDev->GetConnectMetaFile() */) ) in ImplDrawDefault()
116 Size aSz = pOutDev->LogicToLogic( Size( 0, 12 ), &aMapMode, NULL ); in ImplDrawDefault()
126 pOutDev->SetFont( *pFont ); in ImplDrawDefault()
128 long nTextHeight = pOutDev->GetTextHeight(); in ImplDrawDefault()
129 long nTextWidth = pOutDev->GetTextWidth( *pText ); in ImplDrawDefault()
155 nTextWidth = pOutDev->GetTextWidth( *pText, nStart, nNext ); in ImplDrawDefault()
163 nTextWidth = pOutDev->GetTextWidth( *pText, nStart, n ); in ImplDrawDefault()
165 nTextWidth = pOutDev->GetTextWidth( *pText, nStart, --n ); in ImplDrawDefault()
166 pOutDev->DrawText( aPoint, *pText, nStart, n ); in ImplDrawDefault()
194 pOutDev->SetLineColor( COL_LIGHTRED ); in ImplDrawDefault()
195 pOutDev->DrawLine( aBorderRect.TopLeft(), aBorderRect.BottomRight() ); in ImplDrawDefault()
196 pOutDev->DrawLine( aBorderRect.TopRight(), aBorderRect.BottomLeft() ); in ImplDrawDefault()
199 pOutDev->Pop(); in ImplDrawDefault()
553 void Graphic::Draw( OutputDevice* pOutDev, const Point& rDestPt ) const in Draw() argument
555 mpImpGraphic->ImplDraw( pOutDev, rDestPt ); in Draw()
560 void Graphic::Draw( OutputDevice* pOutDev, in Draw() argument
564 ImplDrawDefault( pOutDev, NULL, NULL, NULL, NULL, rDestPt, rDestSz ); in Draw()
566 mpImpGraphic->ImplDraw( pOutDev, rDestPt, rDestSz ); in Draw()
571 void Graphic::Draw( OutputDevice* pOutDev, const String& rText, in Draw() argument
575 ImplDrawDefault( pOutDev, &rText, &rFont, &rBitmap, NULL, rDestPt, rDestSz ); in Draw()
580 void Graphic::DrawEx( OutputDevice* pOutDev, const String& rText, in DrawEx() argument
584 ImplDrawDefault( pOutDev, &rText, &rFont, NULL, &rBitmap, rDestPt, rDestSz ); in DrawEx()
589 void Graphic::StartAnimation( OutputDevice* pOutDev, const Point& rDestPt, long nExtraData, in StartAnimation() argument
593 mpImpGraphic->ImplStartAnimation( pOutDev, rDestPt, nExtraData, pFirstFrameOutDev ); in StartAnimation()
598 void Graphic::StartAnimation( OutputDevice* pOutDev, const Point& rDestPt, in StartAnimation() argument
603 mpImpGraphic->ImplStartAnimation( pOutDev, rDestPt, rDestSz, nExtraData, pFirstFrameOutDev ); in StartAnimation()
608 void Graphic::StopAnimation( OutputDevice* pOutDev, long nExtraData ) in StopAnimation() argument
611 mpImpGraphic->ImplStopAnimation( pOutDev, nExtraData ); in StopAnimation()