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

#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 () override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
 MetaMaskScalePartAction (const Point &rDstPt, const Size &rDstSz, const Point &rSrcPt, const Size &rSrcSz, const Bitmap &rBmp, const Color &rColor)
 
virtual void Move (long nHorzMove, 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
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount ()
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

virtual ~MetaMaskScalePartAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from MetaAction
static MetaActionReadMetaAction (SvStream &rIStm, ImplMetaReadData *pData)
 
- 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 Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 914 of file metaact.hxx.

Constructor & Destructor Documentation

MetaMaskScalePartAction::MetaMaskScalePartAction ( )

Definition at line 1883 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 1887 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 1890 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1908 of file metaact.cxx.

References MetaMaskScalePartAction().

void MetaMaskScalePartAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1903 of file metaact.cxx.

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

const Bitmap& MetaMaskScalePartAction::GetBitmap ( ) const
inline

Definition at line 947 of file metaact.hxx.

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

const Color& MetaMaskScalePartAction::GetColor ( ) const
inline

Definition at line 948 of file metaact.hxx.

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

const Point& MetaMaskScalePartAction::GetDestPoint ( ) const
inline
const Size& MetaMaskScalePartAction::GetDestSize ( ) const
inline
const Point& MetaMaskScalePartAction::GetSrcPoint ( ) const
inline

Definition at line 951 of file metaact.hxx.

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

const Size& MetaMaskScalePartAction::GetSrcSize ( ) const
inline

Definition at line 952 of file metaact.hxx.

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

void MetaMaskScalePartAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1913 of file metaact.cxx.

References maDstPt, and Point::Move().

MetaMaskScalePartAction& MetaMaskScalePartAction::operator= ( MetaMaskScalePartAction const &  )
delete
MetaMaskScalePartAction& MetaMaskScalePartAction::operator= ( MetaMaskScalePartAction &&  )
delete
void MetaMaskScalePartAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1941 of file metaact.cxx.

References maBmp, maColor, maDstPt, maDstSz, maSrcPt, maSrcSz, Color::mValue, ReadDIB(), ReadPair(), and SvStream::ReadUInt32().

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

Reimplemented from MetaAction.

Definition at line 1918 of file metaact.cxx.

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

void MetaMaskScalePartAction::Write ( SvStream rOStm,
ImplMetaWriteData pData 
)
overridevirtual

Member Data Documentation

Bitmap MetaMaskScalePartAction::maBmp
private

Definition at line 918 of file metaact.hxx.

Referenced by Execute(), Read(), and Write().

Color MetaMaskScalePartAction::maColor
private

Definition at line 919 of file metaact.hxx.

Referenced by Execute(), Read(), and Write().

Point MetaMaskScalePartAction::maDstPt
private

Definition at line 920 of file metaact.hxx.

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

Size MetaMaskScalePartAction::maDstSz
private

Definition at line 921 of file metaact.hxx.

Referenced by Execute(), Read(), Scale(), and Write().

Point MetaMaskScalePartAction::maSrcPt
private

Definition at line 922 of file metaact.hxx.

Referenced by Execute(), Read(), and Write().

Size MetaMaskScalePartAction::maSrcSz
private

Definition at line 923 of file metaact.hxx.

Referenced by Execute(), Read(), and Write().


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