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 () const override
 
 MetaPolygonAction (tools::Polygon)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::PolygonGetPolygon () const
 
void SetPolygon (const tools::Polygon &rPoly)
 
- 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 ~MetaPolygonAction () override
 

Private Attributes

tools::Polygon maPoly
 

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

Constructor & Destructor Documentation

◆ MetaPolygonAction() [1/4]

MetaPolygonAction::MetaPolygonAction ( )

Definition at line 517 of file metaact.cxx.

References POLYGON.

Referenced by Clone().

◆ MetaPolygonAction() [2/4]

MetaPolygonAction::MetaPolygonAction ( MetaPolygonAction const &  )
default

◆ MetaPolygonAction() [3/4]

MetaPolygonAction::MetaPolygonAction ( MetaPolygonAction &&  )
default

◆ ~MetaPolygonAction()

MetaPolygonAction::~MetaPolygonAction ( )
overrideprivatevirtual

Definition at line 521 of file metaact.cxx.

◆ MetaPolygonAction() [4/4]

MetaPolygonAction::MetaPolygonAction ( tools::Polygon  aPoly)
explicit

Definition at line 524 of file metaact.cxx.

References POLYGON.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 534 of file metaact.cxx.

References MetaPolygonAction().

◆ Execute()

void MetaPolygonAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 529 of file metaact.cxx.

References maPoly, and pOut.

◆ GetPolygon()

const tools::Polygon & MetaPolygonAction::GetPolygon ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 539 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaPolygonAction & MetaPolygonAction::operator= ( MetaPolygonAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 544 of file metaact.cxx.

References maPoly.

◆ SetPolygon()

void MetaPolygonAction::SetPolygon ( const tools::Polygon rPoly)
inline

Definition at line 438 of file metaact.hxx.

Member Data Documentation

◆ maPoly

tools::Polygon MetaPolygonAction::maPoly
private

Definition at line 418 of file metaact.hxx.

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


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