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 () const override
 
 MetaClipRegionAction (vcl::Region aRegion, bool bClip)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const vcl::RegionGetRegion () const
 
bool IsClipping () const
 
void SetRegion (const vcl::Region &rRegion)
 
void SetClipping (bool bClip)
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
virtual void Execute (OutputDevice *pOut)
 
oslInterlockedCount GetRefCount () const
 
virtual rtl::Reference< MetaActionClone () const
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove)
 
virtual void Scale (double fScaleX, double fScaleY)
 
MetaActionType GetType () const
 
virtual bool IsTransparent () const
 #i10613# Extracted from Printer::GetPreparedMetaFile. More...
 
- 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 salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator 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 1118 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaClipRegionAction() [1/4]

MetaClipRegionAction::MetaClipRegionAction ( )

Definition at line 1384 of file metaact.cxx.

References CLIPREGION.

Referenced by Clone().

◆ MetaClipRegionAction() [2/4]

MetaClipRegionAction::MetaClipRegionAction ( MetaClipRegionAction const &  )
default

◆ MetaClipRegionAction() [3/4]

MetaClipRegionAction::MetaClipRegionAction ( MetaClipRegionAction &&  )
default

◆ ~MetaClipRegionAction()

MetaClipRegionAction::~MetaClipRegionAction ( )
overrideprivatevirtual

Definition at line 1389 of file metaact.cxx.

◆ MetaClipRegionAction() [4/4]

MetaClipRegionAction::MetaClipRegionAction ( vcl::Region  aRegion,
bool  bClip 
)

Definition at line 1392 of file metaact.cxx.

References CLIPREGION.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1406 of file metaact.cxx.

References MetaClipRegionAction().

◆ Execute()

void MetaClipRegionAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1398 of file metaact.cxx.

References maRegion, mbClip, and pOut.

◆ GetRegion()

const vcl::Region & MetaClipRegionAction::GetRegion ( ) const
inline

◆ IsClipping()

bool MetaClipRegionAction::IsClipping ( ) const
inline

◆ Move()

void MetaClipRegionAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1411 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaClipRegionAction & MetaClipRegionAction::operator= ( MetaClipRegionAction &&  )
delete

References Clone(), Execute(), and Move.

◆ operator=() [2/2]

MetaClipRegionAction & MetaClipRegionAction::operator= ( MetaClipRegionAction const &  )
delete

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1416 of file metaact.cxx.

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

◆ SetClipping()

void MetaClipRegionAction::SetClipping ( bool  bClip)
inline

Definition at line 1145 of file metaact.hxx.

◆ SetRegion()

void MetaClipRegionAction::SetRegion ( const vcl::Region rRegion)
inline

Definition at line 1144 of file metaact.hxx.

Member Data Documentation

◆ maRegion

vcl::Region MetaClipRegionAction::maRegion
private

Definition at line 1122 of file metaact.hxx.

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

◆ mbClip

bool MetaClipRegionAction::mbClip
private

Definition at line 1123 of file metaact.hxx.

Referenced by Execute().


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