LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MetaClipRegionAction Class Referencefinal

#include <metaact.hxx>

Inheritance diagram for MetaClipRegionAction:
[legend]
Collaboration diagram for MetaClipRegionAction:
[legend]

Public Member Functions

 MetaClipRegionAction ()
 
 MetaClipRegionAction (MetaClipRegionAction const &)=default
 
 MetaClipRegionAction (MetaClipRegionAction &&)=default
 
MetaClipRegionActionoperator= (MetaClipRegionAction const &)=delete
 
MetaClipRegionActionoperator= (MetaClipRegionAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
 MetaClipRegionAction (const vcl::Region &rRegion, bool bClip)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const vcl::RegionGetRegion () const
 
bool IsClipping () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount () const
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual ~MetaClipRegionAction () override
 

Private Attributes

vcl::Region maRegion
 
bool mbClip
 

Additional Inherited Members

- Static Public Member Functions inherited from MetaAction
static MetaActionReadMetaAction (SvStream &rIStm, ImplMetaReadData *pData)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 1075 of file metaact.hxx.

Constructor & Destructor Documentation

MetaClipRegionAction::MetaClipRegionAction ( )

Definition at line 2216 of file metaact.cxx.

Referenced by Clone().

MetaClipRegionAction::MetaClipRegionAction ( MetaClipRegionAction const &  )
default
MetaClipRegionAction::MetaClipRegionAction ( MetaClipRegionAction &&  )
default
MetaClipRegionAction::~MetaClipRegionAction ( )
overrideprivatevirtual

Definition at line 2221 of file metaact.cxx.

MetaClipRegionAction::MetaClipRegionAction ( const vcl::Region rRegion,
bool  bClip 
)

Definition at line 2224 of file metaact.cxx.

Member Function Documentation

rtl::Reference< MetaAction > MetaClipRegionAction::Clone ( )
overridevirtual

Reimplemented from MetaAction.

Definition at line 2238 of file metaact.cxx.

References MetaClipRegionAction().

void MetaClipRegionAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2230 of file metaact.cxx.

References maRegion, mbClip, and OutputDevice::SetClipRegion().

const vcl::Region& MetaClipRegionAction::GetRegion ( ) const
inline
bool MetaClipRegionAction::IsClipping ( ) const
inline
void MetaClipRegionAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2243 of file metaact.cxx.

References maRegion, and vcl::Region::Move().

MetaClipRegionAction& MetaClipRegionAction::operator= ( MetaClipRegionAction const &  )
delete
MetaClipRegionAction& MetaClipRegionAction::operator= ( MetaClipRegionAction &&  )
delete
void MetaClipRegionAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2262 of file metaact.cxx.

References maRegion, mbClip, SvStream::ReadCharAsBool(), and vcl::ReadRegion().

void MetaClipRegionAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2248 of file metaact.cxx.

References maRegion, and vcl::Region::Scale().

void MetaClipRegionAction::Write ( SvStream rOStm,
ImplMetaWriteData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2253 of file metaact.cxx.

References maRegion, mbClip, MetaAction::Write(), SvStream::WriteBool(), and vcl::WriteRegion().

Member Data Documentation

vcl::Region MetaClipRegionAction::maRegion
private

Definition at line 1079 of file metaact.hxx.

Referenced by Execute(), Move(), Read(), Scale(), and Write().

bool MetaClipRegionAction::mbClip
private

Definition at line 1080 of file metaact.hxx.

Referenced by Execute(), Read(), and Write().


The documentation for this class was generated from the following files: