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 &)
 
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 ~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 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 220 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaRoundRectAction() [1/4]

MetaRoundRectAction::MetaRoundRectAction ( )

Definition at line 260 of file metaact.cxx.

References ROUNDRECT.

Referenced by Clone().

◆ MetaRoundRectAction() [2/4]

MetaRoundRectAction::MetaRoundRectAction ( MetaRoundRectAction const &  )
default

◆ MetaRoundRectAction() [3/4]

MetaRoundRectAction::MetaRoundRectAction ( MetaRoundRectAction &&  )
default

◆ ~MetaRoundRectAction()

MetaRoundRectAction::~MetaRoundRectAction ( )
overrideprivatevirtual

Definition at line 266 of file metaact.cxx.

◆ MetaRoundRectAction() [4/4]

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

Definition at line 269 of file metaact.cxx.

References ROUNDRECT.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 282 of file metaact.cxx.

References MetaRoundRectAction().

◆ Execute()

void MetaRoundRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 277 of file metaact.cxx.

References maRect, mnHorzRound, mnVertRound, and pOut.

◆ GetHorzRound()

sal_uInt32 MetaRoundRectAction::GetHorzRound ( ) const
inline

◆ GetRect()

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

◆ GetVertRound()

sal_uInt32 MetaRoundRectAction::GetVertRound ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 287 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaRoundRectAction & MetaRoundRectAction::operator= ( MetaRoundRectAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 292 of file metaact.cxx.

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

◆ SetHorzRound()

void MetaRoundRectAction::SetHorzRound ( sal_uInt32  rHorzRound)
inline

Definition at line 250 of file metaact.hxx.

◆ SetRect()

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

Definition at line 249 of file metaact.hxx.

◆ SetVertRound()

void MetaRoundRectAction::SetVertRound ( sal_uInt32  rVertRound)
inline

Definition at line 251 of file metaact.hxx.

Member Data Documentation

◆ maRect

tools::Rectangle MetaRoundRectAction::maRect
private

Definition at line 224 of file metaact.hxx.

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

◆ mnHorzRound

sal_uInt32 MetaRoundRectAction::mnHorzRound
private

Definition at line 225 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ mnVertRound

sal_uInt32 MetaRoundRectAction::mnVertRound
private

Definition at line 226 of file metaact.hxx.

Referenced by Execute(), and Scale().


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