Lines Matching refs:pOut

316 sal_Bool GraphicObject::ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const Graphic…  in ImplGetCropParams()  argument
356 aSize100 = pOut->LogicToLogic( maGraphic.GetPrefSize(), &m, &aMap100 ); in ImplGetCropParams()
625 sal_Bool GraphicObject::IsCached( OutputDevice* pOut, const Point& rPt, const Size& rSz, in IsCached() argument
642 ImplGetCropParams( pOut, aPt, aSz, pAttr, aClipPolyPoly, bRectClip ); in IsCached()
644 bRet = mpMgr->IsInCache( pOut, aPt, aSz, *this, ( pAttr ? *pAttr : GetAttr() ) ); in IsCached()
676 sal_Bool GraphicObject::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz, in Draw() argument
682 const sal_uInt32 nOldDrawMode = pOut->GetDrawMode(); in Draw()
691pOut->SetDrawMode( nOldDrawMode & ( ~( DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SE… in Draw()
713 const sal_Bool bCrop = ImplGetCropParams( pOut, aPt, aSz, &aAttr, aClipPolyPoly, bRectClip ); in Draw()
715 pOut->Push( PUSH_CLIPREGION ); in Draw()
724 pOut->IntersectClipRegion( aCropRect ); in Draw()
728 pOut->IntersectClipRegion( aClipPolyPoly ); in Draw()
733 bRet = mpMgr->DrawObj( pOut, aPt, aSz, *this, aAttr, nFlags, bCached ); in Draw()
736 pOut->Pop(); in Draw()
738 pOut->SetDrawMode( nOldDrawMode ); in Draw()
817 sal_Bool GraphicObject::DrawTiled( OutputDevice* pOut, const Rectangle& rArea, const Size& rSize, in DrawTiled() argument
820 if( pOut == NULL || rSize.Width() == 0 || rSize.Height() == 0 ) in DrawTiled()
823 const MapMode aOutMapMode( pOut->GetMapMode() ); in DrawTiled()
827 const Size aOutTileSize( ::std::max( 1L, pOut->LogicToPixel( rSize, aOutMapMode ).Width() ), in DrawTiled()
828 … ::std::max( 1L, pOut->LogicToPixel( rSize, aOutMapMode ).Height() ) ); in DrawTiled()
836 return ImplDrawTiled( pOut, rArea, aOutTileSize, rOffset, pAttr, nFlags, nTileCacheSize1D ); in DrawTiled()
841 sal_Bool GraphicObject::StartAnimation( OutputDevice* pOut, const Point& rPt, const Size& rSz, in StartAnimation() argument
863 const sal_Bool bCrop = ImplGetCropParams( pOut, aPt, aSz, &aAttr, aClipPolyPoly, bRectClip ); in StartAnimation()
865 pOut->Push( PUSH_CLIPREGION ); in StartAnimation()
870 pOut->IntersectClipRegion( aClipPolyPoly.GetBoundRect() ); in StartAnimation()
872 pOut->IntersectClipRegion( aClipPolyPoly ); in StartAnimation()
885 mpSimpleCache->maGraphic.StartAnimation( pOut, aPt, aSz, nExtraData, pFirstFrameOutDev ); in StartAnimation()
888 pOut->Pop(); in StartAnimation()
893 bRet = Draw( pOut, rPt, rSz, &aAttr, GRFMGR_DRAW_STANDARD ); in StartAnimation()
901 void GraphicObject::StopAnimation( OutputDevice* pOut, long nExtraData ) in StopAnimation() argument
904 mpSimpleCache->maGraphic.StopAnimation( pOut, nExtraData ); in StopAnimation()