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

#include <metaact.hxx>

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

Public Member Functions

 MetaFloatTransparentAction ()
 
 MetaFloatTransparentAction (MetaFloatTransparentAction const &)=default
 
 MetaFloatTransparentAction (MetaFloatTransparentAction &&)=default
 
MetaFloatTransparentActionoperator= (MetaFloatTransparentAction const &)=delete
 
MetaFloatTransparentActionoperator= (MetaFloatTransparentAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaFloatTransparentAction (const GDIMetaFile &rMtf, const Point &rPos, const Size &rSize, Gradient aGradient)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const GDIMetaFileGetGDIMetaFile () const
 
const PointGetPoint () const
 
const SizeGetSize () const
 
const GradientGetGradient () const
 
void SetGDIMetaFile (const GDIMetaFile &rMtf)
 
void SetPoint (const Point &rPoint)
 
void SetSize (const Size &rSize)
 
void SetGradient (const Gradient &rGradient)
 
bool IsTransparent () const override
 #i10613# Extracted from Printer::GetPreparedMetaFile. More...
 
- 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 ~MetaFloatTransparentAction () override
 

Private Attributes

GDIMetaFile maMtf
 
Point maPoint
 
Size maSize
 
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 1571 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaFloatTransparentAction() [1/4]

MetaFloatTransparentAction::MetaFloatTransparentAction ( )

Definition at line 1810 of file metaact.cxx.

References FLOATTRANSPARENT.

Referenced by Clone().

◆ MetaFloatTransparentAction() [2/4]

MetaFloatTransparentAction::MetaFloatTransparentAction ( MetaFloatTransparentAction const &  )
default

◆ MetaFloatTransparentAction() [3/4]

MetaFloatTransparentAction::MetaFloatTransparentAction ( MetaFloatTransparentAction &&  )
default

◆ ~MetaFloatTransparentAction()

MetaFloatTransparentAction::~MetaFloatTransparentAction ( )
overrideprivatevirtual

Definition at line 1814 of file metaact.cxx.

◆ MetaFloatTransparentAction() [4/4]

MetaFloatTransparentAction::MetaFloatTransparentAction ( const GDIMetaFile rMtf,
const Point rPos,
const Size rSize,
Gradient  aGradient 
)

Definition at line 1817 of file metaact.cxx.

References FLOATTRANSPARENT, maPoint, and maSize.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1831 of file metaact.cxx.

References MetaFloatTransparentAction().

◆ Execute()

void MetaFloatTransparentAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1826 of file metaact.cxx.

References maGradient, maMtf, maPoint, maSize, and pOut.

◆ GetGDIMetaFile()

const GDIMetaFile & MetaFloatTransparentAction::GetGDIMetaFile ( ) const
inline

◆ GetGradient()

const Gradient & MetaFloatTransparentAction::GetGradient ( ) const
inline

◆ GetPoint()

const Point & MetaFloatTransparentAction::GetPoint ( ) const
inline

◆ GetSize()

const Size & MetaFloatTransparentAction::GetSize ( ) const
inline

◆ IsTransparent()

bool MetaFloatTransparentAction::IsTransparent ( ) const
inlineoverridevirtual

#i10613# Extracted from Printer::GetPreparedMetaFile.

Returns true if given action requires special transparency handling

Reimplemented from MetaAction.

Definition at line 1606 of file metaact.hxx.

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1836 of file metaact.cxx.

References maPoint.

◆ operator=() [1/2]

MetaFloatTransparentAction & MetaFloatTransparentAction::operator= ( MetaFloatTransparentAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1841 of file metaact.cxx.

References tools::Rectangle::GetSize(), maPoint, maSize, and tools::Rectangle::TopLeft().

◆ SetGDIMetaFile()

void MetaFloatTransparentAction::SetGDIMetaFile ( const GDIMetaFile rMtf)
inline

Definition at line 1602 of file metaact.hxx.

◆ SetGradient()

void MetaFloatTransparentAction::SetGradient ( const Gradient rGradient)
inline

Definition at line 1605 of file metaact.hxx.

◆ SetPoint()

void MetaFloatTransparentAction::SetPoint ( const Point rPoint)
inline

Definition at line 1603 of file metaact.hxx.

References maPoint.

◆ SetSize()

void MetaFloatTransparentAction::SetSize ( const Size rSize)
inline

Definition at line 1604 of file metaact.hxx.

References maSize.

Member Data Documentation

◆ maGradient

Gradient MetaFloatTransparentAction::maGradient
private

Definition at line 1578 of file metaact.hxx.

Referenced by Execute().

◆ maMtf

GDIMetaFile MetaFloatTransparentAction::maMtf
private

Definition at line 1575 of file metaact.hxx.

Referenced by Execute().

◆ maPoint

Point MetaFloatTransparentAction::maPoint
private

Definition at line 1576 of file metaact.hxx.

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

◆ maSize

Size MetaFloatTransparentAction::maSize
private

Definition at line 1577 of file metaact.hxx.

Referenced by Execute(), and Scale().


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