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

#include <metaact.hxx>

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

Public Member Functions

 MetaMaskScalePartAction ()
 
 MetaMaskScalePartAction (MetaMaskScalePartAction const &)=default
 
 MetaMaskScalePartAction (MetaMaskScalePartAction &&)=default
 
MetaMaskScalePartActionoperator= (MetaMaskScalePartAction const &)=delete
 
MetaMaskScalePartActionoperator= (MetaMaskScalePartAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaMaskScalePartAction (const Point &rDstPt, const Size &rDstSz, const Point &rSrcPt, const Size &rSrcSz, 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 PointGetDestPoint () const
 
const SizeGetDestSize () const
 
const PointGetSrcPoint () const
 
const SizeGetSrcSize () const
 
void SetBitmap (const Bitmap &rBmp)
 
void SetColor (Color rColor)
 
void SetDestPoint (const Point &rPt)
 
void SetDestSize (const Size &rSz)
 
void SetSrcPoint (const Point &rPt)
 
void SetSrcSize (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 ~MetaMaskScalePartAction () override
 

Private Attributes

Bitmap maBmp
 
Color maColor
 
Point maDstPt
 
Size maDstSz
 
Point maSrcPt
 
Size maSrcSz
 

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

Constructor & Destructor Documentation

◆ MetaMaskScalePartAction() [1/4]

MetaMaskScalePartAction::MetaMaskScalePartAction ( )

Definition at line 1195 of file metaact.cxx.

References MASKSCALEPART.

Referenced by Clone().

◆ MetaMaskScalePartAction() [2/4]

MetaMaskScalePartAction::MetaMaskScalePartAction ( MetaMaskScalePartAction const &  )
default

◆ MetaMaskScalePartAction() [3/4]

MetaMaskScalePartAction::MetaMaskScalePartAction ( MetaMaskScalePartAction &&  )
default

◆ ~MetaMaskScalePartAction()

MetaMaskScalePartAction::~MetaMaskScalePartAction ( )
overrideprivatevirtual

Definition at line 1199 of file metaact.cxx.

◆ MetaMaskScalePartAction() [4/4]

MetaMaskScalePartAction::MetaMaskScalePartAction ( const Point rDstPt,
const Size rDstSz,
const Point rSrcPt,
const Size rSrcSz,
const Bitmap rBmp,
const Color rColor 
)

Definition at line 1202 of file metaact.cxx.

References maColor, and MASKSCALEPART.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1223 of file metaact.cxx.

References MetaMaskScalePartAction().

◆ Execute()

void MetaMaskScalePartAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1215 of file metaact.cxx.

References AllowRect(), maBmp, maColor, maDstPt, maDstSz, MASKSCALE, maSrcPt, maSrcSz, and pOut.

◆ GetBitmap()

const Bitmap & MetaMaskScalePartAction::GetBitmap ( ) const
inline

◆ GetColor()

const Color & MetaMaskScalePartAction::GetColor ( ) const
inline

◆ GetDestPoint()

const Point & MetaMaskScalePartAction::GetDestPoint ( ) const
inline

◆ GetDestSize()

const Size & MetaMaskScalePartAction::GetDestSize ( ) const
inline

◆ GetSrcPoint()

const Point & MetaMaskScalePartAction::GetSrcPoint ( ) const
inline

◆ GetSrcSize()

const Size & MetaMaskScalePartAction::GetSrcSize ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1228 of file metaact.cxx.

References maDstPt, and Point::Move().

◆ operator=() [1/2]

MetaMaskScalePartAction & MetaMaskScalePartAction::operator= ( MetaMaskScalePartAction &&  )
delete

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1233 of file metaact.cxx.

References tools::Rectangle::GetSize(), maDstPt, maDstSz, and tools::Rectangle::TopLeft().

◆ SetBitmap()

void MetaMaskScalePartAction::SetBitmap ( const Bitmap rBmp)
inline

Definition at line 990 of file metaact.hxx.

◆ SetColor()

void MetaMaskScalePartAction::SetColor ( Color  rColor)
inline

Definition at line 991 of file metaact.hxx.

References maColor.

◆ SetDestPoint()

void MetaMaskScalePartAction::SetDestPoint ( const Point rPt)
inline

Definition at line 992 of file metaact.hxx.

◆ SetDestSize()

void MetaMaskScalePartAction::SetDestSize ( const Size rSz)
inline

Definition at line 993 of file metaact.hxx.

◆ SetSrcPoint()

void MetaMaskScalePartAction::SetSrcPoint ( const Point rPt)
inline

Definition at line 994 of file metaact.hxx.

◆ SetSrcSize()

void MetaMaskScalePartAction::SetSrcSize ( const Size rSz)
inline

Definition at line 995 of file metaact.hxx.

Member Data Documentation

◆ maBmp

Bitmap MetaMaskScalePartAction::maBmp
private

Definition at line 957 of file metaact.hxx.

Referenced by Execute().

◆ maColor

Color MetaMaskScalePartAction::maColor
private

Definition at line 958 of file metaact.hxx.

Referenced by Execute().

◆ maDstPt

Point MetaMaskScalePartAction::maDstPt
private

Definition at line 959 of file metaact.hxx.

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

◆ maDstSz

Size MetaMaskScalePartAction::maDstSz
private

Definition at line 960 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ maSrcPt

Point MetaMaskScalePartAction::maSrcPt
private

Definition at line 961 of file metaact.hxx.

Referenced by Execute().

◆ maSrcSz

Size MetaMaskScalePartAction::maSrcSz
private

Definition at line 962 of file metaact.hxx.

Referenced by Execute().


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