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 () override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
 MetaLineAction (const Point &rStart, const Point &rEnd)
 
 MetaLineAction (const Point &rStart, const Point &rEnd, const LineInfo &rLineInfo)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetStartPoint () const
 
const PointGetEndPoint () const
 
const LineInfoGetLineInfo () 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 ~MetaLineAction () override
 

Private Attributes

LineInfo maLineInfo
 
Point maStartPt
 
Point maEndPt
 

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

Constructor & Destructor Documentation

MetaLineAction::MetaLineAction ( )

Definition at line 371 of file metaact.cxx.

References LINE.

Referenced by Clone().

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

Definition at line 375 of file metaact.cxx.

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

Definition at line 378 of file metaact.cxx.

References LINE.

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

Definition at line 384 of file metaact.cxx.

References LINE.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 400 of file metaact.cxx.

References MetaLineAction().

void MetaLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 392 of file metaact.cxx.

References OutputDevice::DrawLine(), maEndPt, maLineInfo, and maStartPt.

const Point& MetaLineAction::GetEndPoint ( ) const
inline
const LineInfo& MetaLineAction::GetLineInfo ( ) const
inline
const Point& MetaLineAction::GetStartPoint ( ) const
inline
void MetaLineAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 405 of file metaact.cxx.

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

MetaLineAction& MetaLineAction::operator= ( MetaLineAction const &  )
delete
MetaLineAction& MetaLineAction::operator= ( MetaLineAction &&  )
delete
void MetaLineAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual
void MetaLineAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 411 of file metaact.cxx.

References maEndPt, maLineInfo, and maStartPt.

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

Member Data Documentation

Point MetaLineAction::maEndPt
private

Definition at line 157 of file metaact.hxx.

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

LineInfo MetaLineAction::maLineInfo
private

Definition at line 155 of file metaact.hxx.

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

Point MetaLineAction::maStartPt
private

Definition at line 156 of file metaact.hxx.

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


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