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 () const override
 
 MetaRoundRectAction (const tools::Rectangle &rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
sal_uInt32 GetHorzRound () const
 
sal_uInt32 GetVertRound () const
 
void SetRect (const tools::Rectangle &rRect)
 
void SetHorzRound (sal_uInt32 rHorzRound)
 
void SetVertRound (sal_uInt32 rVertRound)
 
- 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 ~MetaRoundRectAction () override
 

Private Attributes

tools::Rectangle maRect
 
sal_uInt32 mnHorzRound
 
sal_uInt32 mnVertRound
 

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

Constructor & Destructor Documentation

MetaRoundRectAction::MetaRoundRectAction ( )

Definition at line 258 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 264 of file metaact.cxx.

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

Definition at line 267 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 280 of file metaact.cxx.

References MetaRoundRectAction().

void MetaRoundRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 275 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 ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 285 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 290 of file metaact.cxx.

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

void MetaRoundRectAction::SetHorzRound ( sal_uInt32  rHorzRound)
inline

Definition at line 248 of file metaact.hxx.

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

Definition at line 247 of file metaact.hxx.

void MetaRoundRectAction::SetVertRound ( sal_uInt32  rVertRound)
inline

Definition at line 249 of file metaact.hxx.

Member Data Documentation

tools::Rectangle MetaRoundRectAction::maRect
private

Definition at line 222 of file metaact.hxx.

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

sal_uInt32 MetaRoundRectAction::mnHorzRound
private

Definition at line 223 of file metaact.hxx.

Referenced by Execute(), and Scale().

sal_uInt32 MetaRoundRectAction::mnVertRound
private

Definition at line 224 of file metaact.hxx.

Referenced by Execute(), and Scale().


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