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
 
MetaBmpExScalePartActionoperator= (MetaBmpExScalePartAction const &)=delete
 
MetaBmpExScalePartActionoperator= (MetaBmpExScalePartAction &&)=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
 
 MetaBmpExScalePartAction (const Point &rDstPt, const Size &rDstSz, const Point &rSrcPt, const Size &rSrcSz, const BitmapEx &rBmpEx)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapExGetBitmapEx () 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 () const
 
MetaActionType GetType () const
 
- 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 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 805 of file metaact.hxx.

Constructor & Destructor Documentation

MetaBmpExScalePartAction::MetaBmpExScalePartAction ( )

Definition at line 1749 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1753 of file metaact.cxx.

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

Definition at line 1756 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1772 of file metaact.cxx.

References MetaBmpExScalePartAction().

void MetaBmpExScalePartAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1767 of file metaact.cxx.

References OutputDevice::DrawBitmapEx(), maBmpEx, maDstPt, maDstSz, maSrcPt, and maSrcSz.

const BitmapEx& MetaBmpExScalePartAction::GetBitmapEx ( ) const
inline
const Point& MetaBmpExScalePartAction::GetDestPoint ( ) const
inline
const Size& MetaBmpExScalePartAction::GetDestSize ( ) const
inline
const Point& MetaBmpExScalePartAction::GetSrcPoint ( ) const
inline
const Size& MetaBmpExScalePartAction::GetSrcSize ( ) const
inline
void MetaBmpExScalePartAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1777 of file metaact.cxx.

References maDstPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1782 of file metaact.cxx.

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

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

Member Data Documentation

BitmapEx MetaBmpExScalePartAction::maBmpEx
private

Definition at line 809 of file metaact.hxx.

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

Point MetaBmpExScalePartAction::maDstPt
private

Definition at line 810 of file metaact.hxx.

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

Size MetaBmpExScalePartAction::maDstSz
private

Definition at line 811 of file metaact.hxx.

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

Point MetaBmpExScalePartAction::maSrcPt
private

Definition at line 812 of file metaact.hxx.

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

Size MetaBmpExScalePartAction::maSrcSz
private

Definition at line 813 of file metaact.hxx.

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


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