Lines Matching refs:pOut
199 sal_Bool GraphicManager::IsInCache( OutputDevice* pOut, const Point& rPt, in IsInCache() argument
203 return mpCache->IsInDisplayCache( pOut, rPt, rSz, rObj, rAttr ); in IsInCache()
208 sal_Bool GraphicManager::DrawObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, in DrawObj() argument
221 const Size aOutSize( pOut->GetOutputSizePixel() ); in DrawObj()
223 if( rObj.IsAnimated() || ( pOut->GetOutDevType() == OUTDEV_PRINTER ) || in DrawObj()
227 ( pOut->GetConnectMetaFile() && !pOut->IsOutputEnabled() ) ) ) ) in DrawObj()
246 aGraphic.Draw( pOut, aPt, aSz ); in DrawObj()
255 if( !mpCache->DrawDisplayCacheObj( pOut, aPt, aSz, rObj, rAttr ) ) in DrawObj()
256 bRet = ImplDraw( pOut, aPt, aSz, rObj, rAttr, nFlags, rCached ); in DrawObj()
410 sal_Bool GraphicManager::ImplDraw( OutputDevice* pOut, const Point& rPt, in ImplDraw() argument
426 if( !(pOut->GetDrawMode() & ( DRAWMODE_BLACKBITMAP | DRAWMODE_WHITEBITMAP )) && in ImplDraw()
427 mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw()
431 if( ImplCreateOutput( pOut, rPt, rSz, aSrcBmpEx, rAttr, nFlags, &aDstBmpEx ) ) in ImplDraw()
433 rCached = mpCache->CreateDisplayCacheObj( pOut, rPt, rSz, rObj, rAttr, aDstBmpEx ); in ImplDraw()
439 bRet = ImplCreateOutput( pOut, rPt, rSz, aSrcBmpEx, rAttr, nFlags ); in ImplDraw()
445 if( mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw()
450 if( ImplCreateOutput( pOut, rPt, rSz, rSrcMtf, rAttr, nFlags, aDstMtf, aContainedBmpEx ) ) in ImplDraw()
459 … if( ImplCreateOutput( pOut, rPt, rSz, aContainedBmpEx, rAttr, nFlags, &aDstBmpEx ) ) in ImplDraw()
461 … rCached = mpCache->CreateDisplayCacheObj( pOut, rPt, rSz, rObj, rAttr, aDstBmpEx ); in ImplDraw()
467 … rCached = mpCache->CreateDisplayCacheObj( pOut, rPt, rSz, rObj, rAttr, aDstMtf ); in ImplDraw()
479 aGraphic.Draw( pOut, rPt, rSz ); in ImplDraw()
491 sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOut, in ImplCreateOutput() argument
499 Size aUnrotatedSzPix( pOut->LogicToPixel( rSz ) ); in ImplCreateOutput()
508 aOutPtPix = pOut->LogicToPixel( aRotBoundRect.TopLeft() ); in ImplCreateOutput()
509 aOutSzPix = pOut->LogicToPixel( aRotBoundRect.GetSize() ); in ImplCreateOutput()
513 aOutPtPix = pOut->LogicToPixel( rPt ); in ImplCreateOutput()
602 Rectangle aOutRect( aPt, pOut->GetOutputSizePixel() ); in ImplCreateOutput()
605 if( pOut->GetOutDevType() == OUTDEV_WINDOW ) in ImplCreateOutput()
607 const Region aPaintRgn( ( (Window*) pOut )->GetPaintRegion() ); in ImplCreateOutput()
609 aOutRect.Intersection( pOut->LogicToPixel( aPaintRgn.GetBoundRect() ) ); in ImplCreateOutput()
616 aOutPt = pOut->PixelToLogic( aOutRect.TopLeft() ); in ImplCreateOutput()
617 aOutSz = pOut->PixelToLogic( aOutRect.GetSize() ); in ImplCreateOutput()
628 aOutPt = pOut->PixelToLogic( aOutPtPix ); in ImplCreateOutput()
629 aOutSz = pOut->PixelToLogic( aOutSzPix ); in ImplCreateOutput()
664 aOutPt = pOut->PixelToLogic( aOutPtPix ); in ImplCreateOutput()
665 aOutSz = pOut->PixelToLogic( aOutSzPix ); in ImplCreateOutput()
690 …if( pOut->GetOutDevType() != OUTDEV_PRINTER && pOut->GetBitCount() <= 8 && aOutBmpEx.GetBitCount()… in ImplCreateOutput()
705 pOut->DrawBitmapEx( aOutPt, aOutSz, aOutBmpEx ); in ImplCreateOutput()
709 aOutBmpEx = BitmapEx( aOutBmpEx.GetBitmap().CreateDisplayBitmap( pOut ), aOutBmpEx.GetMask() ); in ImplCreateOutput()
711 pOut->DrawBitmapEx( aOutPt, aOutSz, *pBmpEx = aOutBmpEx ); in ImplCreateOutput()
721 sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOut, in ImplCreateOutput() argument
743 const Size& rSizePix( pOut->LogicToPixel( aNewSize, in ImplCreateOutput()
769 FontMetric aFontMetric( pOut->GetFontMetric( aFont ) ); in ImplCreateOutput()
812 muckWithBitmap( pOut->LogicToPixel( pAction->GetPoint(), in ImplCreateOutput()
827 muckWithBitmap( pOut->LogicToPixel( pAction->GetPoint(), in ImplCreateOutput()
829 pOut->LogicToPixel( pAction->GetSize(), in ImplCreateOutput()
845 pOut->LogicToPixel( pAction->GetDestPoint(), in ImplCreateOutput()
847 pOut->LogicToPixel( pAction->GetDestSize(), in ImplCreateOutput()
861 muckWithBitmap( pOut->LogicToPixel( pAction->GetPoint(), in ImplCreateOutput()
876 muckWithBitmap( pOut->LogicToPixel( pAction->GetPoint(), in ImplCreateOutput()
878 pOut->LogicToPixel( pAction->GetSize(), in ImplCreateOutput()
894 pOut->LogicToPixel( pAction->GetDestPoint(), in ImplCreateOutput()
896 pOut->LogicToPixel( pAction->GetDestSize(), in ImplCreateOutput()
1012 ImplDraw( pOut, rPt, rSz, rOutMtf, rAttr ); in ImplCreateOutput()
1960 void GraphicManager::ImplDraw( OutputDevice* pOut, const Point& rPt, const Size& rSz, in ImplDraw() argument
1977 pOut->Push( PUSH_CLIPREGION ); in ImplDraw()
1978 pOut->IntersectClipRegion( Rectangle( aOutPt, aOutSz ) ); in ImplDraw()
1981 ( (GDIMetaFile&) rMtf ).Play( pOut, aOutPt, aOutSz ); in ImplDraw()
1984 pOut->Pop(); in ImplDraw()
2239 bool GraphicObject::ImplDrawTiled( OutputDevice* pOut, const Rectangle& rArea, const Size& rSizePix… in ImplDrawTiled() argument
2245 const MapMode aOutMapMode( pOut->GetMapMode() ); in ImplDrawTiled()
2297 bRet = aTmpGraphic.ImplDrawTiled( pOut, rArea, in ImplDrawTiled()
2304 const Size aOutOffset( pOut->LogicToPixel( rOffset, aOutMapMode ) ); in ImplDrawTiled()
2305 const Rectangle aOutArea( pOut->LogicToPixel( rArea, aOutMapMode ) ); in ImplDrawTiled()
2324 const Point aOutOrigin( pOut->LogicToPixel( Point( rArea.Left() - rOffset.Width(), in ImplDrawTiled()
2330 pOut->Push( PUSH_CLIPREGION ); in ImplDrawTiled()
2331 pOut->IntersectClipRegion( rArea ); in ImplDrawTiled()
2336 bRet = ImplDrawTiled( *pOut, aOutStart, in ImplDrawTiled()
2341 pOut->Pop(); in ImplDrawTiled()