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

#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 (tools::Long nHorzMove, tools::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 () const
 
MetaActionType GetType () const
 
virtual bool IsTransparent () const
 #i10613# Extracted from Printer::GetPreparedMetaFile. More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual ~MetaMaskScaleAction () override
 

Private Attributes

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

Constructor & Destructor Documentation

MetaMaskScaleAction::MetaMaskScaleAction ( )

Definition at line 1872 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1876 of file metaact.cxx.

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

Definition at line 1879 of file metaact.cxx.

References maColor.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1894 of file metaact.cxx.

References MetaMaskScaleAction().

void MetaMaskScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1889 of file metaact.cxx.

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

const Bitmap& MetaMaskScaleAction::GetBitmap ( ) const
inline

Definition at line 915 of file metaact.hxx.

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

const Color& MetaMaskScaleAction::GetColor ( ) const
inline

Definition at line 916 of file metaact.hxx.

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

const Point& MetaMaskScaleAction::GetPoint ( ) const
inline

Definition at line 917 of file metaact.hxx.

References Point.

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

const Size& MetaMaskScaleAction::GetSize ( ) const
inline

Definition at line 918 of file metaact.hxx.

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

void MetaMaskScaleAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1899 of file metaact.cxx.

References maPt.

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

Reimplemented from MetaAction.

Definition at line 1904 of file metaact.cxx.

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

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

Member Data Documentation

Bitmap MetaMaskScaleAction::maBmp
private

Definition at line 889 of file metaact.hxx.

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

Color MetaMaskScaleAction::maColor
private

Definition at line 890 of file metaact.hxx.

Referenced by Execute().

Point MetaMaskScaleAction::maPt
private

Definition at line 891 of file metaact.hxx.

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

Size MetaMaskScaleAction::maSz
private

Definition at line 892 of file metaact.hxx.

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


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