Lines Matching refs:rOut
322 ImpClipMerk(const OutputDevice& rOut): aClip(rOut.GetClipRegion()),bClip(rOut.IsClipRegion()) {} in ImpClipMerk() argument
323 void Restore(OutputDevice& rOut) in Restore() argument
326 GDIMetaFile* pMtf=rOut.GetConnectMetaFile(); in Restore()
329 if (bClip) rOut.SetClipRegion(aClip); in Restore()
330 else rOut.SetClipRegion(); in Restore()
341 ImpColorMerk(const OutputDevice& rOut): in ImpColorMerk() argument
342 aLineColor( rOut.GetLineColor() ), in ImpColorMerk()
343 aFillColor( rOut.GetFillColor() ), in ImpColorMerk()
344 aBckgrdColor( rOut.GetBackground().GetColor() ), in ImpColorMerk()
345 aFont (rOut.GetFont()) {} in ImpColorMerk()
347 ImpColorMerk(const OutputDevice& rOut, sal_uInt16 nMode) in ImpColorMerk() argument
350 aLineColor = rOut.GetLineColor(); in ImpColorMerk()
354 aFillColor = rOut.GetFillColor(); in ImpColorMerk()
355 aBckgrdColor = rOut.GetBackground().GetColor(); in ImpColorMerk()
359 aFont=rOut.GetFont(); in ImpColorMerk()
362 void Restore(OutputDevice& rOut, sal_uInt16 nMode=SDRHDC_SAVEPENANDBRUSHANDFONT) in Restore() argument
365 rOut.SetLineColor( aLineColor ); in Restore()
369 rOut.SetFillColor( aFillColor ); in Restore()
370 rOut.SetBackground( Wallpaper( aBckgrdColor ) ); in Restore()
374 if (!rOut.GetFont().IsSameInstance(aFont)) in Restore()
376 rOut.SetFont(aFont); in Restore()
384 ImpSdrHdcMerk::ImpSdrHdcMerk(const OutputDevice& rOut, sal_uInt16 nNewMode, FASTBOOL bAutoMerk): in ImpSdrHdcMerk() argument
390 if (bAutoMerk) Save(rOut); in ImpSdrHdcMerk()
400 void ImpSdrHdcMerk::Save(const OutputDevice& rOut) in Save() argument
418 pClipMerk=new ImpClipMerk(rOut); in Save()
423 pLineColorMerk=new Color( rOut.GetLineColor() ); in Save()
425 pFarbMerk=new ImpColorMerk(rOut); in Save()
427 pFarbMerk=new ImpColorMerk(rOut,nCol); in Save()
430 void ImpSdrHdcMerk::Restore(OutputDevice& rOut, sal_uInt16 nMask) const in Restore() argument
435 pClipMerk->Restore(rOut); in Restore()
442 rOut.SetLineColor(*pLineColorMerk); in Restore()
444 rOut.SetLineColor( pFarbMerk->GetLineColor() ); in Restore()
446 pFarbMerk->Restore(rOut,nCol); in Restore()