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

#include <metaact.hxx>

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

Public Member Functions

 MetaBmpScaleAction ()
 
 MetaBmpScaleAction (MetaBmpScaleAction const &)=default
 
 MetaBmpScaleAction (MetaBmpScaleAction &&)=default
 
MetaBmpScaleActionoperator= (MetaBmpScaleAction const &)=delete
 
MetaBmpScaleActionoperator= (MetaBmpScaleAction &&)=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
 
 MetaBmpScaleAction (const Point &rPt, const Size &rSz, const Bitmap &rBmp)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapGetBitmap () 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 ~MetaBmpScaleAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

Bitmap maBmp
 
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 672 of file metaact.hxx.

Constructor & Destructor Documentation

MetaBmpScaleAction::MetaBmpScaleAction ( )

Definition at line 1472 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1476 of file metaact.cxx.

MetaBmpScaleAction::MetaBmpScaleAction ( const Point rPt,
const Size rSz,
const Bitmap rBmp 
)

Definition at line 1479 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1492 of file metaact.cxx.

References MetaBmpScaleAction().

void MetaBmpScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1487 of file metaact.cxx.

References OutputDevice::DrawBitmap(), maBmp, maPt, and maSz.

const Bitmap& MetaBmpScaleAction::GetBitmap ( ) const
inline
const Point& MetaBmpScaleAction::GetPoint ( ) const
inline
const Size& MetaBmpScaleAction::GetSize ( ) const
inline
void MetaBmpScaleAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1497 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1522 of file metaact.cxx.

References maBmp, maPt, maSz, ReadDIB(), and ReadPair().

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

Reimplemented from MetaAction.

Definition at line 1502 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1510 of file metaact.cxx.

References maBmp, maPt, maSz, MetaAction::Write(), WriteDIB(), and WritePair().

Member Data Documentation

Bitmap MetaBmpScaleAction::maBmp
private

Definition at line 676 of file metaact.hxx.

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

Point MetaBmpScaleAction::maPt
private

Definition at line 677 of file metaact.hxx.

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

Size MetaBmpScaleAction::maSz
private

Definition at line 678 of file metaact.hxx.

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


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