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

#include <metaact.hxx>

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

Public Member Functions

 MetaTransparentAction ()
 
 MetaTransparentAction (MetaTransparentAction const &)=default
 
 MetaTransparentAction (MetaTransparentAction &&)=default
 
MetaTransparentActionoperator= (MetaTransparentAction const &)=delete
 
MetaTransparentActionoperator= (MetaTransparentAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaTransparentAction (tools::PolyPolygon aPolyPoly, sal_uInt16 nTransPercent)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::PolyPolygonGetPolyPolygon () const
 
sal_uInt16 GetTransparence () const
 
void SetPolyPolygon (const tools::PolyPolygon &rPolyPoly)
 
void SetTransparence (const sal_uInt16 nTransPercent)
 
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 ~MetaTransparentAction () override
 

Private Attributes

tools::PolyPolygon maPolyPoly
 
sal_uInt16 mnTransPercent
 

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

Constructor & Destructor Documentation

◆ MetaTransparentAction() [1/4]

MetaTransparentAction::MetaTransparentAction ( )

Definition at line 1837 of file metaact.cxx.

References Transparent.

Referenced by Clone().

◆ MetaTransparentAction() [2/4]

MetaTransparentAction::MetaTransparentAction ( MetaTransparentAction const &  )
default

◆ MetaTransparentAction() [3/4]

MetaTransparentAction::MetaTransparentAction ( MetaTransparentAction &&  )
default

◆ ~MetaTransparentAction()

MetaTransparentAction::~MetaTransparentAction ( )
overrideprivatevirtual

Definition at line 1842 of file metaact.cxx.

◆ MetaTransparentAction() [4/4]

MetaTransparentAction::MetaTransparentAction ( tools::PolyPolygon  aPolyPoly,
sal_uInt16  nTransPercent 
)

Definition at line 1845 of file metaact.cxx.

References Transparent.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1856 of file metaact.cxx.

References MetaTransparentAction().

◆ Execute()

void MetaTransparentAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1851 of file metaact.cxx.

References maPolyPoly, mnTransPercent, and pOut.

◆ GetPolyPolygon()

const tools::PolyPolygon & MetaTransparentAction::GetPolyPolygon ( ) const
inline

◆ GetTransparence()

sal_uInt16 MetaTransparentAction::GetTransparence ( ) const
inline

◆ IsTransparent()

bool MetaTransparentAction::IsTransparent ( ) const
inlineoverridevirtual

#i10613# Extracted from Printer::GetPreparedMetaFile.

Returns true if given action requires special transparency handling

Reimplemented from MetaAction.

Definition at line 1570 of file metaact.hxx.

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1861 of file metaact.cxx.

References maPolyPoly, and tools::PolyPolygon::Move().

◆ operator=() [1/2]

MetaTransparentAction & MetaTransparentAction::operator= ( MetaTransparentAction &&  )
delete

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1866 of file metaact.cxx.

References tools::PolyPolygon::Count(), i, maPolyPoly, and nCount.

◆ SetPolyPolygon()

void MetaTransparentAction::SetPolyPolygon ( const tools::PolyPolygon rPolyPoly)
inline

Definition at line 1567 of file metaact.hxx.

◆ SetTransparence()

void MetaTransparentAction::SetTransparence ( const sal_uInt16  nTransPercent)
inline

Definition at line 1568 of file metaact.hxx.

Member Data Documentation

◆ maPolyPoly

tools::PolyPolygon MetaTransparentAction::maPolyPoly
private

Definition at line 1545 of file metaact.hxx.

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

◆ mnTransPercent

sal_uInt16 MetaTransparentAction::mnTransPercent
private

Definition at line 1546 of file metaact.hxx.

Referenced by Execute().


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