Lines Matching refs:pOut

461 	static sal_uLong				GetNeededSize( OutputDevice* pOut, const Point& rPt, const Size& rSz, 
467 OutputDevice* pOut, const Point& rPt, const Size& rSz, in GraphicDisplayCacheEntry() argument
472 maAttr( rAttr ), maOutSizePix( pOut->LogicToPixel( rSz ) ), in GraphicDisplayCacheEntry()
473 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry()
474 mnOutDevDrawMode( pOut->GetDrawMode() ), in GraphicDisplayCacheEntry()
475 mnOutDevBitCount( pOut->GetBitCount() ) in GraphicDisplayCacheEntry()
480 OutputDevice* pOut, const Point& rPt, const Size& rSz, in GraphicDisplayCacheEntry() argument
485 maAttr( rAttr ), maOutSizePix( pOut->LogicToPixel( rSz ) ), in GraphicDisplayCacheEntry()
486 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry()
487 mnOutDevDrawMode( pOut->GetDrawMode() ), in GraphicDisplayCacheEntry()
488 mnOutDevBitCount( pOut->GetBitCount() ) in GraphicDisplayCacheEntry()
505 sal_Bool Matches( OutputDevice* pOut, const Point& /*rPtPixel*/, const Size& rSzPixel, in Matches() argument
517 ( pOut->GetBitCount() == mnOutDevBitCount ) && in Matches()
518 ( pOut->GetDrawMode() == mnOutDevDrawMode ) ); in Matches()
521 void Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz ) const;
526 sal_uLong GraphicDisplayCacheEntry::GetNeededSize( OutputDevice* pOut, const Point& /*rPt*/, const … in GetNeededSize() argument
535 const Size aOutSizePix( pOut->LogicToPixel( rSz ) ); in GetNeededSize()
536 const long nBitCount = pOut->GetBitCount(); in GetNeededSize()
577 void GraphicDisplayCacheEntry::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz ) const in Draw() argument
580 GraphicManager::ImplDraw( pOut, rPt, rSz, *mpMtf, maAttr ); in Draw()
589 pOut->DrawBitmapEx( aRotBoundRect.TopLeft(), aRotBoundRect.GetSize(), *mpBmpEx ); in Draw()
592 pOut->DrawBitmapEx( rPt, rSz, *mpBmpEx ); in Draw()
870 sal_Bool GraphicCache::IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Size& rSz, in IsDisplayCacheable() argument
873 return( GraphicDisplayCacheEntry::GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) <= in IsDisplayCacheable()
879 sal_Bool GraphicCache::IsInDisplayCache( OutputDevice* pOut, const Point& rPt, const Size& rSz, in IsInDisplayCache() argument
882 const Point aPtPixel( pOut->LogicToPixel( rPt ) ); in IsInDisplayCache()
883 const Size aSzPixel( pOut->LogicToPixel( rSz ) ); in IsInDisplayCache()
891 …if( ( (GraphicDisplayCacheEntry*) maDisplayCache.GetObject( i ) )->Matches( pOut, aPtPixel, aSzPix… in IsInDisplayCache()
920 sal_Bool GraphicCache::CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz… in CreateDisplayCacheObj() argument
924 …const sal_uLong nNeededSize = GraphicDisplayCacheEntry::GetNeededSize( pOut, rPt, rSz, rObj, rAttr… in CreateDisplayCacheObj()
933 pOut, rPt, rSz, rObj, rAttr, rBmpEx ); in CreateDisplayCacheObj()
954 sal_Bool GraphicCache::CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz… in CreateDisplayCacheObj() argument
958 …const sal_uLong nNeededSize = GraphicDisplayCacheEntry::GetNeededSize( pOut, rPt, rSz, rObj, rAttr… in CreateDisplayCacheObj()
967 pOut, rPt, rSz, rObj, rAttr, rMtf ); in CreateDisplayCacheObj()
988 sal_Bool GraphicCache::DrawDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, in DrawDisplayCacheObj() argument
991 const Point aPtPixel( pOut->LogicToPixel( rPt ) ); in DrawDisplayCacheObj()
992 const Size aSzPixel( pOut->LogicToPixel( rSz ) ); in DrawDisplayCacheObj()
999 if( pDisplayCacheEntry->Matches( pOut, aPtPixel, aSzPixel, pCacheEntry, rAttr ) ) in DrawDisplayCacheObj()
1020 pDisplayCacheEntry->Draw( pOut, rPt, rSz ); in DrawDisplayCacheObj()