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

#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
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount ()
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

virtual ~MetaBmpExScaleAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

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 Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 773 of file metaact.hxx.

Constructor & Destructor Documentation

MetaBmpExScaleAction::MetaBmpExScaleAction ( )

Definition at line 1646 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1650 of file metaact.cxx.

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

Definition at line 1653 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1666 of file metaact.cxx.

References MetaBmpExScaleAction().

void MetaBmpExScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1661 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
void MetaBmpExScaleAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1671 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1696 of file metaact.cxx.

References maBmpEx, maPt, maSz, ReadDIBBitmapEx(), and ReadPair().

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

Reimplemented from MetaAction.

Definition at line 1676 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1684 of file metaact.cxx.

References BitmapEx::GetBitmap(), maBmpEx, maPt, maSz, MetaAction::Write(), WriteDIBBitmapEx(), and WritePair().

Member Data Documentation

BitmapEx MetaBmpExScaleAction::maBmpEx
private

Definition at line 777 of file metaact.hxx.

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

Point MetaBmpExScaleAction::maPt
private

Definition at line 778 of file metaact.hxx.

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

Size MetaBmpExScaleAction::maSz
private

Definition at line 779 of file metaact.hxx.

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


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