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

#include <metaact.hxx>

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

Public Member Functions

 MetaLineAction ()
 
 MetaLineAction (MetaLineAction const &)=default
 
 MetaLineAction (MetaLineAction &&)=default
 
MetaLineActionoperator= (MetaLineAction const &)=delete
 
MetaLineActionoperator= (MetaLineAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaLineAction (const Point &rStart, const Point &rEnd)
 
 MetaLineAction (const Point &rStart, const Point &rEnd, LineInfo aLineInfo)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetStartPoint () const
 
const PointGetEndPoint () const
 
const LineInfoGetLineInfo () const
 
void SetStartPoint (const Point &rPoint)
 
void SetEndPoint (const Point &rPoint)
 
void SetLineInfo (const LineInfo &rLineInfo)
 
- 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 ~MetaLineAction () override
 

Private Attributes

LineInfo maLineInfo
 
Point maStartPt
 
Point maEndPt
 

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

Constructor & Destructor Documentation

◆ MetaLineAction() [1/5]

MetaLineAction::MetaLineAction ( )

Definition at line 181 of file metaact.cxx.

References LINE.

Referenced by Clone().

◆ MetaLineAction() [2/5]

MetaLineAction::MetaLineAction ( MetaLineAction const &  )
default

◆ MetaLineAction() [3/5]

MetaLineAction::MetaLineAction ( MetaLineAction &&  )
default

◆ ~MetaLineAction()

MetaLineAction::~MetaLineAction ( )
overrideprivatevirtual

Definition at line 185 of file metaact.cxx.

◆ MetaLineAction() [4/5]

MetaLineAction::MetaLineAction ( const Point rStart,
const Point rEnd 
)

Definition at line 188 of file metaact.cxx.

References LINE.

◆ MetaLineAction() [5/5]

MetaLineAction::MetaLineAction ( const Point rStart,
const Point rEnd,
LineInfo  aLineInfo 
)

Definition at line 194 of file metaact.cxx.

References LINE.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 210 of file metaact.cxx.

References MetaLineAction().

◆ Execute()

void MetaLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 202 of file metaact.cxx.

References maEndPt, maLineInfo, maStartPt, and pOut.

◆ GetEndPoint()

const Point & MetaLineAction::GetEndPoint ( ) const
inline

◆ GetLineInfo()

const LineInfo & MetaLineAction::GetLineInfo ( ) const
inline

◆ GetStartPoint()

const Point & MetaLineAction::GetStartPoint ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 215 of file metaact.cxx.

References maEndPt, maStartPt, and Point::Move().

◆ operator=() [1/2]

MetaLineAction & MetaLineAction::operator= ( MetaLineAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 221 of file metaact.cxx.

References maEndPt, maLineInfo, and maStartPt.

◆ SetEndPoint()

void MetaLineAction::SetEndPoint ( const Point rPoint)
inline

Definition at line 189 of file metaact.hxx.

◆ SetLineInfo()

void MetaLineAction::SetLineInfo ( const LineInfo rLineInfo)
inline

Definition at line 190 of file metaact.hxx.

◆ SetStartPoint()

void MetaLineAction::SetStartPoint ( const Point rPoint)
inline

Definition at line 188 of file metaact.hxx.

Member Data Documentation

◆ maEndPt

Point MetaLineAction::maEndPt
private

Definition at line 164 of file metaact.hxx.

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

◆ maLineInfo

LineInfo MetaLineAction::maLineInfo
private

Definition at line 162 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ maStartPt

Point MetaLineAction::maStartPt
private

Definition at line 163 of file metaact.hxx.

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


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