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

#include <metaact.hxx>

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

Public Member Functions

 MetaPixelAction ()
 
 MetaPixelAction (MetaPixelAction const &)=default
 
 MetaPixelAction (MetaPixelAction &&)=default
 
MetaPixelActionoperator= (MetaPixelAction const &)=delete
 
MetaPixelActionoperator= (MetaPixelAction &&)=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
 
 MetaPixelAction (const Point &rPt, const Color &rColor)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetPoint () const
 
const ColorGetColor () 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 ~MetaPixelAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

Point maPt
 
Color maColor
 

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

Constructor & Destructor Documentation

MetaPixelAction::MetaPixelAction ( )

Definition at line 273 of file metaact.cxx.

References PIXEL.

Referenced by Clone().

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

Definition at line 277 of file metaact.cxx.

MetaPixelAction::MetaPixelAction ( const Point rPt,
const Color rColor 
)

Definition at line 280 of file metaact.cxx.

References PIXEL.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 291 of file metaact.cxx.

References MetaPixelAction().

void MetaPixelAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 286 of file metaact.cxx.

References OutputDevice::DrawPixel(), maColor, and maPt.

const Color& MetaPixelAction::GetColor ( ) const
inline
const Point& MetaPixelAction::GetPoint ( ) const
inline
void MetaPixelAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 296 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 314 of file metaact.cxx.

References maColor, maPt, Color::mValue, ReadPair(), and SvStream::ReadUInt32().

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

Reimplemented from MetaAction.

Definition at line 301 of file metaact.cxx.

References maPt.

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

Reimplemented from MetaAction.

Definition at line 306 of file metaact.cxx.

References maColor, maPt, Color::mValue, MetaAction::Write(), WritePair(), and SvStream::WriteUInt32().

Member Data Documentation

Color MetaPixelAction::maColor
private

Definition at line 99 of file metaact.hxx.

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

Point MetaPixelAction::maPt
private

Definition at line 98 of file metaact.hxx.

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


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