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 &)
 
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 ~MetaChordAction () override
 

Private Attributes

tools::Rectangle maRect
 
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 349 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaChordAction() [1/4]

MetaChordAction::MetaChordAction ( )

Definition at line 409 of file metaact.cxx.

References CHORD.

Referenced by Clone().

◆ MetaChordAction() [2/4]

MetaChordAction::MetaChordAction ( MetaChordAction const &  )
default

◆ MetaChordAction() [3/4]

MetaChordAction::MetaChordAction ( MetaChordAction &&  )
default

◆ ~MetaChordAction()

MetaChordAction::~MetaChordAction ( )
overrideprivatevirtual

Definition at line 413 of file metaact.cxx.

◆ MetaChordAction() [4/4]

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

Definition at line 416 of file metaact.cxx.

References CHORD.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 429 of file metaact.cxx.

References MetaChordAction().

◆ Execute()

void MetaChordAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 424 of file metaact.cxx.

References maEndPt, maRect, maStartPt, and pOut.

◆ GetEndPoint()

const Point & MetaChordAction::GetEndPoint ( ) const
inline

◆ GetRect()

const tools::Rectangle & MetaChordAction::GetRect ( ) const
inline

◆ GetStartPoint()

const Point & MetaChordAction::GetStartPoint ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 434 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaChordAction & MetaChordAction::operator= ( MetaChordAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 441 of file metaact.cxx.

References maEndPt, maRect, and maStartPt.

◆ SetEndPoint()

void MetaChordAction::SetEndPoint ( const Point rPoint)
inline

Definition at line 380 of file metaact.hxx.

◆ SetRect()

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

Definition at line 378 of file metaact.hxx.

◆ SetStartPoint()

void MetaChordAction::SetStartPoint ( const Point rPoint)
inline

Definition at line 379 of file metaact.hxx.

Member Data Documentation

◆ maEndPt

Point MetaChordAction::maEndPt
private

Definition at line 355 of file metaact.hxx.

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

◆ maRect

tools::Rectangle MetaChordAction::maRect
private

Definition at line 353 of file metaact.hxx.

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

◆ maStartPt

Point MetaChordAction::maStartPt
private

Definition at line 354 of file metaact.hxx.

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


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