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 &)
 
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 ~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 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 943 of file metaact.hxx.

Constructor & Destructor Documentation

MetaMaskScalePartAction::MetaMaskScalePartAction ( )

Definition at line 1099 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1103 of file metaact.cxx.

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

Definition at line 1106 of file metaact.cxx.

References maColor.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1124 of file metaact.cxx.

References MetaMaskScalePartAction().

void MetaMaskScalePartAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1119 of file metaact.cxx.

References OutputDevice::DrawMask(), maBmp, maColor, maDstPt, maDstSz, MASKSCALE, maSrcPt, and maSrcSz.

const Bitmap& MetaMaskScalePartAction::GetBitmap ( ) const
inline
const Color& MetaMaskScalePartAction::GetColor ( ) const
inline
const Point& MetaMaskScalePartAction::GetDestPoint ( ) const
inline
const Size& MetaMaskScalePartAction::GetDestSize ( ) const
inline
const Point& MetaMaskScalePartAction::GetSrcPoint ( ) const
inline
const Size& MetaMaskScalePartAction::GetSrcSize ( ) const
inline
void MetaMaskScalePartAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1129 of file metaact.cxx.

References maDstPt.

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

Reimplemented from MetaAction.

Definition at line 1134 of file metaact.cxx.

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

void MetaMaskScalePartAction::SetBitmap ( const Bitmap rBmp)
inline

Definition at line 980 of file metaact.hxx.

void MetaMaskScalePartAction::SetColor ( Color  rColor)
inline

Definition at line 981 of file metaact.hxx.

void MetaMaskScalePartAction::SetDestPoint ( const Point rPt)
inline

Definition at line 982 of file metaact.hxx.

void MetaMaskScalePartAction::SetDestSize ( const Size rSz)
inline

Definition at line 983 of file metaact.hxx.

void MetaMaskScalePartAction::SetSrcPoint ( const Point rPt)
inline

Definition at line 984 of file metaact.hxx.

void MetaMaskScalePartAction::SetSrcSize ( const Size rSz)
inline

Definition at line 985 of file metaact.hxx.

Member Data Documentation

Bitmap MetaMaskScalePartAction::maBmp
private

Definition at line 947 of file metaact.hxx.

Referenced by Execute().

Color MetaMaskScalePartAction::maColor
private

Definition at line 948 of file metaact.hxx.

Referenced by Execute().

Point MetaMaskScalePartAction::maDstPt
private

Definition at line 949 of file metaact.hxx.

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

Size MetaMaskScalePartAction::maDstSz
private

Definition at line 950 of file metaact.hxx.

Referenced by Execute(), and Scale().

Point MetaMaskScalePartAction::maSrcPt
private

Definition at line 951 of file metaact.hxx.

Referenced by Execute().

Size MetaMaskScalePartAction::maSrcSz
private

Definition at line 952 of file metaact.hxx.

Referenced by Execute().


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