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

#include <metaact.hxx>

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

Public Member Functions

 MetaGradientAction ()
 
 MetaGradientAction (MetaGradientAction const &)=default
 
 MetaGradientAction (MetaGradientAction &&)=default
 
MetaGradientActionoperator= (MetaGradientAction const &)=delete
 
MetaGradientActionoperator= (MetaGradientAction &&)=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
 
 MetaGradientAction (const tools::Rectangle &rRect, const Gradient &rGradient)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
const GradientGetGradient () 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 ~MetaGradientAction () override
 

Private Attributes

tools::Rectangle maRect
 
Gradient maGradient
 

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

Constructor & Destructor Documentation

MetaGradientAction::MetaGradientAction ( )

Definition at line 2005 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 2009 of file metaact.cxx.

MetaGradientAction::MetaGradientAction ( const tools::Rectangle rRect,
const Gradient rGradient 
)

Definition at line 2012 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 2023 of file metaact.cxx.

References MetaGradientAction().

void MetaGradientAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2018 of file metaact.cxx.

References OutputDevice::DrawGradient(), maGradient, and maRect.

const Gradient& MetaGradientAction::GetGradient ( ) const
inline
const tools::Rectangle& MetaGradientAction::GetRect ( ) const
inline
void MetaGradientAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2028 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 2033 of file metaact.cxx.

References maRect.

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

Member Data Documentation

Gradient MetaGradientAction::maGradient
private

Definition at line 959 of file metaact.hxx.

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

tools::Rectangle MetaGradientAction::maRect
private

Definition at line 958 of file metaact.hxx.

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


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