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

#include <metaact.hxx>

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

Public Member Functions

 MetaBmpScalePartAction ()
 
 MetaBmpScalePartAction (MetaBmpScalePartAction const &)=default
 
 MetaBmpScalePartAction (MetaBmpScalePartAction &&)=default
 
MetaBmpScalePartActionoperator= (MetaBmpScalePartAction const &)=delete
 
MetaBmpScalePartActionoperator= (MetaBmpScalePartAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaBmpScalePartAction (const Point &rDstPt, const Size &rDstSz, const Point &rSrcPt, const Size &rSrcSz, const Bitmap &rBmp)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const BitmapGetBitmap () const
 
const PointGetDestPoint () const
 
const SizeGetDestSize () const
 
const PointGetSrcPoint () const
 
const SizeGetSrcSize () const
 
void SetBitmap (const Bitmap &rBmp)
 
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 ~MetaBmpScalePartAction () override
 

Private Attributes

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

Constructor & Destructor Documentation

◆ MetaBmpScalePartAction() [1/4]

MetaBmpScalePartAction::MetaBmpScalePartAction ( )

Definition at line 956 of file metaact.cxx.

References BMPSCALEPART.

Referenced by Clone().

◆ MetaBmpScalePartAction() [2/4]

MetaBmpScalePartAction::MetaBmpScalePartAction ( MetaBmpScalePartAction const &  )
default

◆ MetaBmpScalePartAction() [3/4]

MetaBmpScalePartAction::MetaBmpScalePartAction ( MetaBmpScalePartAction &&  )
default

◆ ~MetaBmpScalePartAction()

MetaBmpScalePartAction::~MetaBmpScalePartAction ( )
overrideprivatevirtual

Definition at line 960 of file metaact.cxx.

◆ MetaBmpScalePartAction() [4/4]

MetaBmpScalePartAction::MetaBmpScalePartAction ( const Point rDstPt,
const Size rDstSz,
const Point rSrcPt,
const Size rSrcSz,
const Bitmap rBmp 
)

Definition at line 963 of file metaact.cxx.

References BMPSCALEPART.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 982 of file metaact.cxx.

References MetaBmpScalePartAction().

◆ Execute()

void MetaBmpScalePartAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 974 of file metaact.cxx.

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

◆ GetBitmap()

const Bitmap & MetaBmpScalePartAction::GetBitmap ( ) const
inline

◆ GetDestPoint()

const Point & MetaBmpScalePartAction::GetDestPoint ( ) const
inline

◆ GetDestSize()

const Size & MetaBmpScalePartAction::GetDestSize ( ) const
inline

◆ GetSrcPoint()

const Point & MetaBmpScalePartAction::GetSrcPoint ( ) const
inline

◆ GetSrcSize()

const Size & MetaBmpScalePartAction::GetSrcSize ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 987 of file metaact.cxx.

References maDstPt, and Point::Move().

◆ operator=() [1/2]

MetaBmpScalePartAction & MetaBmpScalePartAction::operator= ( MetaBmpScalePartAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 992 of file metaact.cxx.

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

◆ SetBitmap()

void MetaBmpScalePartAction::SetBitmap ( const Bitmap rBmp)
inline

Definition at line 767 of file metaact.hxx.

◆ SetDestPoint()

void MetaBmpScalePartAction::SetDestPoint ( const Point rPt)
inline

Definition at line 768 of file metaact.hxx.

◆ SetDestSize()

void MetaBmpScalePartAction::SetDestSize ( const Size rSz)
inline

Definition at line 769 of file metaact.hxx.

◆ SetSrcPoint()

void MetaBmpScalePartAction::SetSrcPoint ( const Point rPt)
inline

Definition at line 770 of file metaact.hxx.

◆ SetSrcSize()

void MetaBmpScalePartAction::SetSrcSize ( const Size rSz)
inline

Definition at line 771 of file metaact.hxx.

Member Data Documentation

◆ maBmp

Bitmap MetaBmpScalePartAction::maBmp
private

Definition at line 737 of file metaact.hxx.

Referenced by Execute().

◆ maDstPt

Point MetaBmpScalePartAction::maDstPt
private

Definition at line 738 of file metaact.hxx.

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

◆ maDstSz

Size MetaBmpScalePartAction::maDstSz
private

Definition at line 739 of file metaact.hxx.

Referenced by Execute(), and Scale().

◆ maSrcPt

Point MetaBmpScalePartAction::maSrcPt
private

Definition at line 740 of file metaact.hxx.

Referenced by Execute().

◆ maSrcSz

Size MetaBmpScalePartAction::maSrcSz
private

Definition at line 741 of file metaact.hxx.

Referenced by Execute().


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