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

#include <metaact.hxx>

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

Public Member Functions

 MetaPolyLineAction ()
 
 MetaPolyLineAction (MetaPolyLineAction const &)=default
 
 MetaPolyLineAction (MetaPolyLineAction &&)=default
 
MetaPolyLineActionoperator= (MetaPolyLineAction const &)=delete
 
MetaPolyLineActionoperator= (MetaPolyLineAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaPolyLineAction (tools::Polygon)
 
 MetaPolyLineAction (tools::Polygon, LineInfo)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::PolygonGetPolygon () const
 
const LineInfoGetLineInfo () const
 
void SetLineInfo (const LineInfo &rLineInfo)
 
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 ~MetaPolyLineAction () override
 

Private Attributes

LineInfo maLineInfo
 
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 381 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaPolyLineAction() [1/5]

MetaPolyLineAction::MetaPolyLineAction ( )

Definition at line 448 of file metaact.cxx.

References POLYLINE.

Referenced by Clone().

◆ MetaPolyLineAction() [2/5]

MetaPolyLineAction::MetaPolyLineAction ( MetaPolyLineAction const &  )
default

◆ MetaPolyLineAction() [3/5]

MetaPolyLineAction::MetaPolyLineAction ( MetaPolyLineAction &&  )
default

◆ ~MetaPolyLineAction()

MetaPolyLineAction::~MetaPolyLineAction ( )
overrideprivatevirtual

Definition at line 452 of file metaact.cxx.

◆ MetaPolyLineAction() [4/5]

MetaPolyLineAction::MetaPolyLineAction ( tools::Polygon  aPoly)
explicit

Definition at line 455 of file metaact.cxx.

References POLYLINE.

◆ MetaPolyLineAction() [5/5]

MetaPolyLineAction::MetaPolyLineAction ( tools::Polygon  aPoly,
LineInfo  aLineInfo 
)
explicit

Definition at line 460 of file metaact.cxx.

References POLYLINE.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 474 of file metaact.cxx.

References MetaPolyLineAction().

◆ Execute()

void MetaPolyLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 466 of file metaact.cxx.

References maLineInfo, maPoly, and pOut.

◆ GetLineInfo()

const LineInfo & MetaPolyLineAction::GetLineInfo ( ) const
inline

◆ GetPolygon()

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

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 479 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaPolyLineAction & MetaPolyLineAction::operator= ( MetaPolyLineAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 484 of file metaact.cxx.

References maLineInfo, and maPoly.

◆ SetLineInfo()

void MetaPolyLineAction::SetLineInfo ( const LineInfo rLineInfo)
inline

Definition at line 408 of file metaact.hxx.

◆ SetPolygon()

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

Definition at line 409 of file metaact.hxx.

Member Data Documentation

◆ maLineInfo

LineInfo MetaPolyLineAction::maLineInfo
private

Definition at line 385 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ maPoly

tools::Polygon MetaPolyLineAction::maPoly
private

Definition at line 386 of file metaact.hxx.

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


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