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

#include <metaact.hxx>

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

Public Member Functions

 MetaRoundRectAction ()
 
 MetaRoundRectAction (MetaRoundRectAction const &)=default
 
 MetaRoundRectAction (MetaRoundRectAction &&)=default
 
MetaRoundRectActionoperator= (MetaRoundRectAction const &)=delete
 
MetaRoundRectActionoperator= (MetaRoundRectAction &&)=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
 
 MetaRoundRectAction (const tools::Rectangle &rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
sal_uInt32 GetHorzRound () const
 
sal_uInt32 GetVertRound () 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 ~MetaRoundRectAction () override
 

Private Attributes

tools::Rectangle maRect
 
sal_uInt32 mnHorzRound
 
sal_uInt32 mnVertRound
 

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

Constructor & Destructor Documentation

MetaRoundRectAction::MetaRoundRectAction ( )

Definition at line 494 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 500 of file metaact.cxx.

MetaRoundRectAction::MetaRoundRectAction ( const tools::Rectangle rRect,
sal_uInt32  nHorzRound,
sal_uInt32  nVertRound 
)

Definition at line 503 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 516 of file metaact.cxx.

References MetaRoundRectAction().

void MetaRoundRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 511 of file metaact.cxx.

References OutputDevice::DrawRect(), maRect, mnHorzRound, and mnVertRound.

sal_uInt32 MetaRoundRectAction::GetHorzRound ( ) const
inline
const tools::Rectangle& MetaRoundRectAction::GetRect ( ) const
inline
sal_uInt32 MetaRoundRectAction::GetVertRound ( ) const
inline
void MetaRoundRectAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 521 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 526 of file metaact.cxx.

References FRound(), maRect, mnHorzRound, and mnVertRound.

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

Member Data Documentation

tools::Rectangle MetaRoundRectAction::maRect
private

Definition at line 217 of file metaact.hxx.

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

sal_uInt32 MetaRoundRectAction::mnHorzRound
private

Definition at line 218 of file metaact.hxx.

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

sal_uInt32 MetaRoundRectAction::mnVertRound
private

Definition at line 219 of file metaact.hxx.

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


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