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

#include <metaact.hxx>

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

Public Member Functions

 MetaBmpExScalePartAction ()
 
 MetaBmpExScalePartAction (MetaBmpExScalePartAction const &)=default
 
 MetaBmpExScalePartAction (MetaBmpExScalePartAction &&)=default
 
MetaBmpExScalePartAction & operator= (MetaBmpExScalePartAction const &)=delete
 
MetaBmpExScalePartAction & operator= (MetaBmpExScalePartAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaAction > Clone () const override
 
 MetaBmpExScalePartAction (const Point &rDstPt, const Size &rDstSz, const Point &rSrcPt, const Size &rSrcSz, const BitmapEx &rBmpEx)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapEx & GetBitmapEx () const
 
const Point & GetDestPoint () const
 
const Size & GetDestSize () const
 
const Point & GetSrcPoint () const
 
const Size & GetSrcSize () const
 
void SetBitmapEx (const BitmapEx &rBmpEx)
 
void SetDestPoint (const Point &rDstPt)
 
void SetDestSize (const Size &rDstSz)
 
void SetSrcPoint (const Point &rSrcPt)
 
void SetSrcSize (const Size &rSrcSz)
 
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< MetaAction > Clone () 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 ~MetaBmpExScalePartAction () override
 

Private Attributes

BitmapEx maBmpEx
 
Point maDstPt
 
Size maDstSz
 
Point maSrcPt
 
Size maSrcSz
 

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

Constructor & Destructor Documentation

◆ MetaBmpExScalePartAction() [1/4]

MetaBmpExScalePartAction::MetaBmpExScalePartAction ( )

Definition at line 1076 of file metaact.cxx.

References BMPEXSCALEPART.

Referenced by Clone().

◆ MetaBmpExScalePartAction() [2/4]

MetaBmpExScalePartAction::MetaBmpExScalePartAction ( MetaBmpExScalePartAction const &  )
default

◆ MetaBmpExScalePartAction() [3/4]

MetaBmpExScalePartAction::MetaBmpExScalePartAction ( MetaBmpExScalePartAction &&  )
default

◆ ~MetaBmpExScalePartAction()

MetaBmpExScalePartAction::~MetaBmpExScalePartAction ( )
overrideprivatevirtual

Definition at line 1080 of file metaact.cxx.

◆ MetaBmpExScalePartAction() [4/4]

MetaBmpExScalePartAction::MetaBmpExScalePartAction ( const Point &  rDstPt,
const Size &  rDstSz,
const Point &  rSrcPt,
const Size &  rSrcSz,
const BitmapEx &  rBmpEx 
)

Definition at line 1083 of file metaact.cxx.

References BMPEXSCALEPART.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1099 of file metaact.cxx.

References MetaBmpExScalePartAction().

◆ Execute()

void MetaBmpExScalePartAction::Execute ( OutputDevice *  pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1094 of file metaact.cxx.

References maBmpEx, maDstPt, maDstSz, maSrcPt, maSrcSz, and pOut.

◆ GetBitmapEx()

const BitmapEx & MetaBmpExScalePartAction::GetBitmapEx ( ) const
inline

◆ GetDestPoint()

const Point & MetaBmpExScalePartAction::GetDestPoint ( ) const
inline

◆ GetDestSize()

const Size & MetaBmpExScalePartAction::GetDestSize ( ) const
inline

◆ GetSrcPoint()

const Point & MetaBmpExScalePartAction::GetSrcPoint ( ) const
inline

◆ GetSrcSize()

const Size & MetaBmpExScalePartAction::GetSrcSize ( ) const
inline

◆ IsTransparent()

bool MetaBmpExScalePartAction::IsTransparent ( ) const
inlineoverridevirtual

#i10613# Extracted from Printer::GetPreparedMetaFile.

Returns true if given action requires special transparency handling

Reimplemented from MetaAction.

Definition at line 879 of file metaact.hxx.

References vcl::drawmode::GetBitmapEx(), and BitmapEx::IsAlpha().

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1104 of file metaact.cxx.

References maDstPt, and Point::Move().

◆ operator=() [1/2]

MetaBmpExScalePartAction & MetaBmpExScalePartAction::operator= ( MetaBmpExScalePartAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1109 of file metaact.cxx.

References tools::Rectangle::GetSize(), maDstPt, maDstSz, and tools::Rectangle::TopLeft().

◆ SetBitmapEx()

void MetaBmpExScalePartAction::SetBitmapEx ( const BitmapEx &  rBmpEx)
inline

Definition at line 874 of file metaact.hxx.

◆ SetDestPoint()

void MetaBmpExScalePartAction::SetDestPoint ( const Point &  rDstPt)
inline

Definition at line 875 of file metaact.hxx.

◆ SetDestSize()

void MetaBmpExScalePartAction::SetDestSize ( const Size &  rDstSz)
inline

Definition at line 876 of file metaact.hxx.

◆ SetSrcPoint()

void MetaBmpExScalePartAction::SetSrcPoint ( const Point &  rSrcPt)
inline

Definition at line 877 of file metaact.hxx.

◆ SetSrcSize()

void MetaBmpExScalePartAction::SetSrcSize ( const Size &  rSrcSz)
inline

Definition at line 878 of file metaact.hxx.

Member Data Documentation

◆ maBmpEx

BitmapEx MetaBmpExScalePartAction::maBmpEx
private

Definition at line 844 of file metaact.hxx.

Referenced by Execute().

◆ maDstPt

Point MetaBmpExScalePartAction::maDstPt
private

Definition at line 845 of file metaact.hxx.

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

◆ maDstSz

Size MetaBmpExScalePartAction::maDstSz
private

Definition at line 846 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ maSrcPt

Point MetaBmpExScalePartAction::maSrcPt
private

Definition at line 847 of file metaact.hxx.

Referenced by Execute().

◆ maSrcSz

Size MetaBmpExScalePartAction::maSrcSz
private

Definition at line 848 of file metaact.hxx.

Referenced by Execute().


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