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...
 
const basegfx::BColorStopsgetSVGTransparencyColorStops () const
 
void addSVGTransparencyColorStops (const basegfx::BColorStops &rSVGTransparencyColorStops)
 
- 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
 
std::optional< basegfx::BColorStopsmaSVGTransparencyColorStops
 

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

Constructor & Destructor Documentation

◆ MetaFloatTransparentAction() [1/4]

MetaFloatTransparentAction::MetaFloatTransparentAction ( )

Definition at line 1872 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 1876 of file metaact.cxx.

◆ MetaFloatTransparentAction() [4/4]

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

Definition at line 1879 of file metaact.cxx.

References FLOATTRANSPARENT, maPoint, and maSize.

Member Function Documentation

◆ addSVGTransparencyColorStops()

void MetaFloatTransparentAction::addSVGTransparencyColorStops ( const basegfx::BColorStops rSVGTransparencyColorStops)

Definition at line 1911 of file metaact.cxx.

References maSVGTransparencyColorStops.

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1893 of file metaact.cxx.

References MetaFloatTransparentAction().

◆ Execute()

void MetaFloatTransparentAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1888 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

◆ getSVGTransparencyColorStops()

const basegfx::BColorStops * MetaFloatTransparentAction::getSVGTransparencyColorStops ( ) const
inline

Definition at line 1614 of file metaact.hxx.

Referenced by SvmWriter::FloatTransparentHandler().

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

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1898 of file metaact.cxx.

References maPoint, and Point::Move().

◆ 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 1903 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 1607 of file metaact.hxx.

◆ SetGradient()

void MetaFloatTransparentAction::SetGradient ( const Gradient rGradient)
inline

Definition at line 1610 of file metaact.hxx.

◆ SetPoint()

void MetaFloatTransparentAction::SetPoint ( const Point rPoint)
inline

Definition at line 1608 of file metaact.hxx.

References maPoint.

◆ SetSize()

void MetaFloatTransparentAction::SetSize ( const Size rSize)
inline

Definition at line 1609 of file metaact.hxx.

References maSize.

Member Data Documentation

◆ maGradient

Gradient MetaFloatTransparentAction::maGradient
private

Definition at line 1580 of file metaact.hxx.

Referenced by Execute().

◆ maMtf

GDIMetaFile MetaFloatTransparentAction::maMtf
private

Definition at line 1577 of file metaact.hxx.

Referenced by Execute().

◆ maPoint

Point MetaFloatTransparentAction::maPoint
private

Definition at line 1578 of file metaact.hxx.

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

◆ maSize

Size MetaFloatTransparentAction::maSize
private

Definition at line 1579 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ maSVGTransparencyColorStops

std::optional<basegfx::BColorStops> MetaFloatTransparentAction::maSVGTransparencyColorStops
private

Definition at line 1583 of file metaact.hxx.

Referenced by addSVGTransparencyColorStops().


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