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

#include <metaact.hxx>

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

Public Member Functions

 MetaPolygonAction ()
 
 MetaPolygonAction (MetaPolygonAction const &)=default
 
 MetaPolygonAction (MetaPolygonAction &&)=default
 
MetaPolygonActionoperator= (MetaPolygonAction const &)=delete
 
MetaPolygonActionoperator= (MetaPolygonAction &&)=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
 
 MetaPolygonAction (const tools::Polygon &)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::PolygonGetPolygon () 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 ~MetaPolygonAction () override
 

Private Attributes

tools::Polygon maPoly
 

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 404 of file metaact.hxx.

Constructor & Destructor Documentation

MetaPolygonAction::MetaPolygonAction ( )

Definition at line 849 of file metaact.cxx.

References POLYGON.

Referenced by Clone().

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

Definition at line 853 of file metaact.cxx.

MetaPolygonAction::MetaPolygonAction ( const tools::Polygon rPoly)
explicit

Definition at line 856 of file metaact.cxx.

References POLYGON.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 866 of file metaact.cxx.

References MetaPolygonAction().

void MetaPolygonAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 861 of file metaact.cxx.

References OutputDevice::DrawPolygon(), and maPoly.

const tools::Polygon& MetaPolygonAction::GetPolygon ( ) const
inline
void MetaPolygonAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 871 of file metaact.cxx.

References maPoly, and tools::Polygon::Move().

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

Reimplemented from MetaAction.

Definition at line 896 of file metaact.cxx.

References VersionCompat::GetVersion(), maPoly, tools::Polygon::Read(), ReadPolygon(), and SvStream::ReadUChar().

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

Reimplemented from MetaAction.

Definition at line 876 of file metaact.cxx.

References maPoly.

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

Member Data Documentation

tools::Polygon MetaPolygonAction::maPoly
private

Definition at line 408 of file metaact.hxx.

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


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