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 () const 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
 
void SetBitmap (const Bitmap &rBmp)
 
void SetPoint (const Point &rPt)
 
void SetSize (const Size &rSz)
 
- 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 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
 
- Static Protected Member Functions inherited from MetaAction
static void ReadColor (SvStream &rIStm,::Color &rColor)
 
static void WriteColor (SvStream &rIStm,::Color aColor)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 906 of file metaact.hxx.

Constructor & Destructor Documentation

MetaMaskScaleAction::MetaMaskScaleAction ( )

Definition at line 1059 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1063 of file metaact.cxx.

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

Definition at line 1066 of file metaact.cxx.

References maColor.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1081 of file metaact.cxx.

References MetaMaskScaleAction().

void MetaMaskScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1076 of file metaact.cxx.

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

const Bitmap& MetaMaskScaleAction::GetBitmap ( ) const
inline
const Color& MetaMaskScaleAction::GetColor ( ) const
inline

Definition at line 935 of file metaact.hxx.

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

const Point& MetaMaskScaleAction::GetPoint ( ) const
inline
const Size& MetaMaskScaleAction::GetSize ( ) const
inline
void MetaMaskScaleAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1086 of file metaact.cxx.

References maPt.

MetaMaskScaleAction& MetaMaskScaleAction::operator= ( MetaMaskScaleAction const &  )
delete
MetaMaskScaleAction& MetaMaskScaleAction::operator= ( MetaMaskScaleAction &&  )
delete
void MetaMaskScaleAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1091 of file metaact.cxx.

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

void MetaMaskScaleAction::SetBitmap ( const Bitmap rBmp)
inline

Definition at line 938 of file metaact.hxx.

void MetaMaskScaleAction::SetPoint ( const Point rPt)
inline

Definition at line 939 of file metaact.hxx.

void MetaMaskScaleAction::SetSize ( const Size rSz)
inline

Definition at line 940 of file metaact.hxx.

Member Data Documentation

Bitmap MetaMaskScaleAction::maBmp
private

Definition at line 910 of file metaact.hxx.

Referenced by Execute().

Color MetaMaskScaleAction::maColor
private

Definition at line 911 of file metaact.hxx.

Referenced by Execute().

Point MetaMaskScaleAction::maPt
private

Definition at line 912 of file metaact.hxx.

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

Size MetaMaskScaleAction::maSz
private

Definition at line 913 of file metaact.hxx.

Referenced by Execute(), and Scale().


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