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

#include <metaact.hxx>

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

Public Member Functions

 MetaBmpScalePartAction ()
 
 MetaBmpScalePartAction (MetaBmpScalePartAction const &)=default
 
 MetaBmpScalePartAction (MetaBmpScalePartAction &&)=default
 
MetaBmpScalePartActionoperator= (MetaBmpScalePartAction const &)=delete
 
MetaBmpScalePartActionoperator= (MetaBmpScalePartAction &&)=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
 
 MetaBmpScalePartAction (const Point &rDstPt, const Size &rDstSz, const Point &rSrcPt, const Size &rSrcSz, const Bitmap &rBmp)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapGetBitmap () const
 
const PointGetDestPoint () const
 
const SizeGetDestSize () const
 
const PointGetSrcPoint () const
 
const SizeGetSrcSize () 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 ~MetaBmpScalePartAction () 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 maDstPt
 
Size maDstSz
 
Point maSrcPt
 
Size maSrcSz
 

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

Constructor & Destructor Documentation

MetaBmpScalePartAction::MetaBmpScalePartAction ( )

Definition at line 1530 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1534 of file metaact.cxx.

MetaBmpScalePartAction::MetaBmpScalePartAction ( const Point rDstPt,
const Size rDstSz,
const Point rSrcPt,
const Size rSrcSz,
const Bitmap rBmp 
)

Definition at line 1537 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1553 of file metaact.cxx.

References MetaBmpScalePartAction().

void MetaBmpScalePartAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1548 of file metaact.cxx.

References OutputDevice::DrawBitmap(), maBmp, maDstPt, maDstSz, maSrcPt, and maSrcSz.

const Bitmap& MetaBmpScalePartAction::GetBitmap ( ) const
inline
const Point& MetaBmpScalePartAction::GetDestPoint ( ) const
inline
const Size& MetaBmpScalePartAction::GetDestSize ( ) const
inline
const Point& MetaBmpScalePartAction::GetSrcPoint ( ) const
inline
const Size& MetaBmpScalePartAction::GetSrcSize ( ) const
inline
void MetaBmpScalePartAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1558 of file metaact.cxx.

References maDstPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1585 of file metaact.cxx.

References maBmp, maDstPt, maDstSz, maSrcPt, maSrcSz, ReadDIB(), and ReadPair().

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

Reimplemented from MetaAction.

Definition at line 1563 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1571 of file metaact.cxx.

References maBmp, maDstPt, maDstSz, maSrcPt, maSrcSz, MetaAction::Write(), WriteDIB(), and WritePair().

Member Data Documentation

Bitmap MetaBmpScalePartAction::maBmp
private

Definition at line 709 of file metaact.hxx.

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

Point MetaBmpScalePartAction::maDstPt
private

Definition at line 710 of file metaact.hxx.

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

Size MetaBmpScalePartAction::maDstSz
private

Definition at line 711 of file metaact.hxx.

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

Point MetaBmpScalePartAction::maSrcPt
private

Definition at line 712 of file metaact.hxx.

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

Size MetaBmpScalePartAction::maSrcSz
private

Definition at line 713 of file metaact.hxx.

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


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