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

#include <metaact.hxx>

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

Public Member Functions

 MetaMaskAction ()
 
 MetaMaskAction (MetaMaskAction const &)=default
 
 MetaMaskAction (MetaMaskAction &&)=default
 
MetaMaskActionoperator= (MetaMaskAction const &)=delete
 
MetaMaskActionoperator= (MetaMaskAction &&)=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
 
 MetaMaskAction (const Point &rPt, 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
 
- 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 ~MetaMaskAction () 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
 

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

Constructor & Destructor Documentation

MetaMaskAction::MetaMaskAction ( )

Definition at line 1769 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1773 of file metaact.cxx.

MetaMaskAction::MetaMaskAction ( const Point rPt,
const Bitmap rBmp,
const Color rColor 
)

Definition at line 1776 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1790 of file metaact.cxx.

References MetaMaskAction().

void MetaMaskAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1785 of file metaact.cxx.

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

const Bitmap& MetaMaskAction::GetBitmap ( ) const
inline

Definition at line 873 of file metaact.hxx.

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

const Color& MetaMaskAction::GetColor ( ) const
inline

Definition at line 874 of file metaact.hxx.

Referenced by GDIMetaFile::GetChecksum().

const Point& MetaMaskAction::GetPoint ( ) const
inline

Definition at line 875 of file metaact.hxx.

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

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

Reimplemented from MetaAction.

Definition at line 1795 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1816 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1800 of file metaact.cxx.

References maPt.

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

Reimplemented from MetaAction.

Definition at line 1805 of file metaact.cxx.

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

Member Data Documentation

Bitmap MetaMaskAction::maBmp
private

Definition at line 848 of file metaact.hxx.

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

Color const MetaMaskAction::maColor
private

Definition at line 849 of file metaact.hxx.

Referenced by Execute().

Point MetaMaskAction::maPt
private

Definition at line 850 of file metaact.hxx.

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


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