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

#include <metaact.hxx>

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

Public Member Functions

 MetaMaskScaleAction ()
 
 MetaMaskScaleAction (MetaMaskScaleAction const &)=default
 
 MetaMaskScaleAction (MetaMaskScaleAction &&)=default
 
MetaMaskScaleActionoperator= (MetaMaskScaleAction const &)=delete
 
MetaMaskScaleActionoperator= (MetaMaskScaleAction &&)=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
 
 MetaMaskScaleAction (const Point &rPt, const Size &rSz, const Bitmap &rBmp, const Color &rColor)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapGetBitmap () const
 
const ColorGetColor () 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 ~MetaMaskScaleAction () 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
 
Color const maColor
 
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 878 of file metaact.hxx.

Constructor & Destructor Documentation

MetaMaskScaleAction::MetaMaskScaleAction ( )

Definition at line 1823 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1827 of file metaact.cxx.

MetaMaskScaleAction::MetaMaskScaleAction ( const Point rPt,
const Size rSz,
const Bitmap rBmp,
const Color rColor 
)

Definition at line 1830 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1845 of file metaact.cxx.

References MetaMaskScaleAction().

void MetaMaskScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1840 of file metaact.cxx.

References OutputDevice::DrawMask(), maBmp, maColor, maPt, and maSz.

const Bitmap& MetaMaskScaleAction::GetBitmap ( ) const
inline

Definition at line 908 of file metaact.hxx.

Referenced by GDIMetaFile::GetChecksum(), and GDIMetaFile::ImplExchangeColors().

const Color& MetaMaskScaleAction::GetColor ( ) const
inline

Definition at line 909 of file metaact.hxx.

Referenced by GDIMetaFile::GetChecksum(), and GDIMetaFile::ImplExchangeColors().

const Point& MetaMaskScaleAction::GetPoint ( ) const
inline

Definition at line 910 of file metaact.hxx.

Referenced by GDIMetaFile::GetChecksum(), and GDIMetaFile::ImplExchangeColors().

const Size& MetaMaskScaleAction::GetSize ( ) const
inline

Definition at line 911 of file metaact.hxx.

Referenced by GDIMetaFile::GetChecksum(), and GDIMetaFile::ImplExchangeColors().

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

Reimplemented from MetaAction.

Definition at line 1850 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1875 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1855 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1863 of file metaact.cxx.

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

Member Data Documentation

Bitmap MetaMaskScaleAction::maBmp
private

Definition at line 882 of file metaact.hxx.

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

Color const MetaMaskScaleAction::maColor
private

Definition at line 883 of file metaact.hxx.

Referenced by Execute().

Point MetaMaskScaleAction::maPt
private

Definition at line 884 of file metaact.hxx.

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

Size MetaMaskScaleAction::maSz
private

Definition at line 885 of file metaact.hxx.

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


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