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

#include <metaact.hxx>

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

Public Member Functions

 MetaChordAction ()
 
 MetaChordAction (MetaChordAction const &)=default
 
 MetaChordAction (MetaChordAction &&)=default
 
MetaChordActionoperator= (MetaChordAction const &)=delete
 
MetaChordActionoperator= (MetaChordAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaChordAction (const tools::Rectangle &rRect, const Point &rStart, const Point &rEnd)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
const PointGetStartPoint () const
 
const PointGetEndPoint () const
 
void SetRect (const tools::Rectangle &rRect)
 
void SetStartPoint (const Point &rPoint)
 
void SetEndPoint (const Point &rPoint)
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount () const
 
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 ~MetaChordAction () override
 

Private Attributes

tools::Rectangle maRect
 
Point maStartPt
 
Point maEndPt
 

Additional Inherited Members

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

Constructor & Destructor Documentation

MetaChordAction::MetaChordAction ( )

Definition at line 407 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 411 of file metaact.cxx.

MetaChordAction::MetaChordAction ( const tools::Rectangle rRect,
const Point rStart,
const Point rEnd 
)

Definition at line 414 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 427 of file metaact.cxx.

References MetaChordAction().

void MetaChordAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 422 of file metaact.cxx.

References OutputDevice::DrawChord(), maEndPt, maRect, and maStartPt.

const Point& MetaChordAction::GetEndPoint ( ) const
inline
const tools::Rectangle& MetaChordAction::GetRect ( ) const
inline
const Point& MetaChordAction::GetStartPoint ( ) const
inline
void MetaChordAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 432 of file metaact.cxx.

References maEndPt, maRect, maStartPt, and tools::Rectangle::Move().

MetaChordAction& MetaChordAction::operator= ( MetaChordAction const &  )
delete
MetaChordAction& MetaChordAction::operator= ( MetaChordAction &&  )
delete
void MetaChordAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 439 of file metaact.cxx.

References maEndPt, maRect, and maStartPt.

void MetaChordAction::SetEndPoint ( const Point rPoint)
inline

Definition at line 378 of file metaact.hxx.

void MetaChordAction::SetRect ( const tools::Rectangle rRect)
inline

Definition at line 376 of file metaact.hxx.

void MetaChordAction::SetStartPoint ( const Point rPoint)
inline

Definition at line 377 of file metaact.hxx.

Member Data Documentation

Point MetaChordAction::maEndPt
private

Definition at line 353 of file metaact.hxx.

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

tools::Rectangle MetaChordAction::maRect
private

Definition at line 351 of file metaact.hxx.

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

Point MetaChordAction::maStartPt
private

Definition at line 352 of file metaact.hxx.

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


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