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

#include <metaact.hxx>

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

Public Member Functions

 MetaBmpExScaleAction ()
 
 MetaBmpExScaleAction (MetaBmpExScaleAction const &)=default
 
 MetaBmpExScaleAction (MetaBmpExScaleAction &&)=default
 
MetaBmpExScaleActionoperator= (MetaBmpExScaleAction const &)=delete
 
MetaBmpExScaleActionoperator= (MetaBmpExScaleAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
 MetaBmpExScaleAction (const Point &rPt, const Size &rSz, const BitmapEx &rBmpEx)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapExGetBitmapEx () const
 
const PointGetPoint () const
 
const SizeGetSize () const
 
bool IsTransparent () const override
 #i10613# Extracted from Printer::GetPreparedMetaFile. More...
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount () const
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual ~MetaBmpExScaleAction () override
 

Private Attributes

BitmapEx maBmpEx
 
Point maPt
 
Size maSz
 

Additional Inherited Members

- Static Public Member Functions inherited from MetaAction
static MetaActionReadMetaAction (SvStream &rIStm, ImplMetaReadData *pData)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator 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 778 of file metaact.hxx.

Constructor & Destructor Documentation

MetaBmpExScaleAction::MetaBmpExScaleAction ( )

Definition at line 1689 of file metaact.cxx.

Referenced by Clone().

MetaBmpExScaleAction::MetaBmpExScaleAction ( MetaBmpExScaleAction const &  )
default
MetaBmpExScaleAction::MetaBmpExScaleAction ( MetaBmpExScaleAction &&  )
default
MetaBmpExScaleAction::~MetaBmpExScaleAction ( )
overrideprivatevirtual

Definition at line 1693 of file metaact.cxx.

MetaBmpExScaleAction::MetaBmpExScaleAction ( const Point rPt,
const Size rSz,
const BitmapEx rBmpEx 
)

Definition at line 1696 of file metaact.cxx.

Member Function Documentation

rtl::Reference< MetaAction > MetaBmpExScaleAction::Clone ( )
overridevirtual

Reimplemented from MetaAction.

Definition at line 1709 of file metaact.cxx.

References MetaBmpExScaleAction().

void MetaBmpExScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1704 of file metaact.cxx.

References OutputDevice::DrawBitmapEx(), maBmpEx, maPt, and maSz.

const BitmapEx& MetaBmpExScaleAction::GetBitmapEx ( ) const
inline
const Point& MetaBmpExScaleAction::GetPoint ( ) const
inline
const Size& MetaBmpExScaleAction::GetSize ( ) const
inline
bool MetaBmpExScaleAction::IsTransparent ( ) const
inlineoverridevirtual

#i10613# Extracted from Printer::GetPreparedMetaFile.

Returns true if given action requires special transparency handling

Reimplemented from MetaAction.

Definition at line 809 of file metaact.hxx.

void MetaBmpExScaleAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1714 of file metaact.cxx.

References maPt.

MetaBmpExScaleAction& MetaBmpExScaleAction::operator= ( MetaBmpExScaleAction const &  )
delete
MetaBmpExScaleAction& MetaBmpExScaleAction::operator= ( MetaBmpExScaleAction &&  )
delete
void MetaBmpExScaleAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual
void MetaBmpExScaleAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1719 of file metaact.cxx.

References tools::Rectangle::GetSize(), maPt, maSz, and tools::Rectangle::TopLeft().

void MetaBmpExScaleAction::Write ( SvStream rOStm,
ImplMetaWriteData pData 
)
overridevirtual

Member Data Documentation

BitmapEx MetaBmpExScaleAction::maBmpEx
private

Definition at line 782 of file metaact.hxx.

Referenced by Execute(), Read(), and Write().

Point MetaBmpExScaleAction::maPt
private

Definition at line 783 of file metaact.hxx.

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

Size MetaBmpExScaleAction::maSz
private

Definition at line 784 of file metaact.hxx.

Referenced by Execute(), Read(), Scale(), and Write().


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