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 () const override
 
 MetaGradientAction (const tools::Rectangle &rRect, Gradient aGradient)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
const GradientGetGradient () const
 
void SetGradient (const Gradient &rGradient)
 
void SetRect (const tools::Rectangle &rRect)
 
- 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 ~MetaGradientAction () override
 

Private Attributes

tools::Rectangle maRect
 
Gradient maGradient
 

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

Constructor & Destructor Documentation

◆ MetaGradientAction() [1/4]

MetaGradientAction::MetaGradientAction ( )

Definition at line 1241 of file metaact.cxx.

References GRADIENT.

Referenced by Clone().

◆ MetaGradientAction() [2/4]

MetaGradientAction::MetaGradientAction ( MetaGradientAction const &  )
default

◆ MetaGradientAction() [3/4]

MetaGradientAction::MetaGradientAction ( MetaGradientAction &&  )
default

◆ ~MetaGradientAction()

MetaGradientAction::~MetaGradientAction ( )
overrideprivatevirtual

Definition at line 1245 of file metaact.cxx.

◆ MetaGradientAction() [4/4]

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

Definition at line 1248 of file metaact.cxx.

References GRADIENT.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1259 of file metaact.cxx.

References MetaGradientAction().

◆ Execute()

void MetaGradientAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1254 of file metaact.cxx.

References maGradient, maRect, and pOut.

◆ GetGradient()

const Gradient & MetaGradientAction::GetGradient ( ) const
inline

◆ GetRect()

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

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1264 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaGradientAction & MetaGradientAction::operator= ( MetaGradientAction &&  )
delete

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1269 of file metaact.cxx.

References maRect.

◆ SetGradient()

void MetaGradientAction::SetGradient ( const Gradient rGradient)
inline

Definition at line 1024 of file metaact.hxx.

◆ SetRect()

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

Definition at line 1025 of file metaact.hxx.

Member Data Documentation

◆ maGradient

Gradient MetaGradientAction::maGradient
private

Definition at line 1003 of file metaact.hxx.

Referenced by Execute().

◆ maRect

tools::Rectangle MetaGradientAction::maRect
private

Definition at line 1002 of file metaact.hxx.

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


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