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 &)
 
virtual void Execute (OutputDevice *pOut)
 
oslInterlockedCount GetRefCount () const
 
virtual rtl::Reference< MetaActionClone () const
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove)
 
virtual void Scale (double fScaleX, double fScaleY)
 
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 void * operator new (std::size_t nSize)
 
static void * operator 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 914 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaMaskScaleAction() [1/4]

MetaMaskScaleAction::MetaMaskScaleAction ( )

Definition at line 1125 of file metaact.cxx.

References MASKSCALE.

Referenced by Clone().

◆ MetaMaskScaleAction() [2/4]

MetaMaskScaleAction::MetaMaskScaleAction ( MetaMaskScaleAction const &  )
default

◆ MetaMaskScaleAction() [3/4]

MetaMaskScaleAction::MetaMaskScaleAction ( MetaMaskScaleAction &&  )
default

◆ ~MetaMaskScaleAction()

MetaMaskScaleAction::~MetaMaskScaleAction ( )
overrideprivatevirtual

Definition at line 1129 of file metaact.cxx.

◆ MetaMaskScaleAction() [4/4]

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

Definition at line 1132 of file metaact.cxx.

References maColor, and MASKSCALE.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1147 of file metaact.cxx.

References MetaMaskScaleAction().

◆ Execute()

void MetaMaskScaleAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1142 of file metaact.cxx.

References maBmp, maColor, maPt, maSz, and pOut.

◆ GetBitmap()

const Bitmap & MetaMaskScaleAction::GetBitmap ( ) const
inline

◆ GetColor()

const Color & MetaMaskScaleAction::GetColor ( ) const
inline

Definition at line 943 of file metaact.hxx.

References maColor.

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

◆ GetPoint()

const Point & MetaMaskScaleAction::GetPoint ( ) const
inline

◆ GetSize()

const Size & MetaMaskScaleAction::GetSize ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1152 of file metaact.cxx.

References maPt.

◆ operator=() [1/2]

MetaMaskScaleAction & MetaMaskScaleAction::operator= ( MetaMaskScaleAction &&  )
delete

References Clone(), Execute(), and Move.

◆ operator=() [2/2]

MetaMaskScaleAction & MetaMaskScaleAction::operator= ( MetaMaskScaleAction const &  )
delete

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1157 of file metaact.cxx.

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

◆ SetBitmap()

void MetaMaskScaleAction::SetBitmap ( const Bitmap rBmp)
inline

Definition at line 946 of file metaact.hxx.

◆ SetPoint()

void MetaMaskScaleAction::SetPoint ( const Point rPt)
inline

Definition at line 947 of file metaact.hxx.

◆ SetSize()

void MetaMaskScaleAction::SetSize ( const Size rSz)
inline

Definition at line 948 of file metaact.hxx.

Member Data Documentation

◆ maBmp

Bitmap MetaMaskScaleAction::maBmp
private

Definition at line 918 of file metaact.hxx.

Referenced by Execute().

◆ maColor

Color MetaMaskScaleAction::maColor
private

Definition at line 919 of file metaact.hxx.

Referenced by Execute().

◆ maPt

Point MetaMaskScaleAction::maPt
private

Definition at line 920 of file metaact.hxx.

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

◆ maSz

Size MetaMaskScaleAction::maSz
private

Definition at line 921 of file metaact.hxx.

Referenced by Execute(), and Scale().


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