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

#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 () const override
 
 MetaPixelAction (const Point &rPt, const Color &rColor)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetPoint () const
 
const ColorGetColor () const
 
void SetPoint (const Point &rPt)
 
void SetColor (Color rColor)
 
- 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 ~MetaPixelAction () override
 

Private Attributes

Point maPt
 
Color maColor
 

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
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 101 of file metaact.hxx.

Constructor & Destructor Documentation

MetaPixelAction::MetaPixelAction ( )

Definition at line 114 of file metaact.cxx.

References PIXEL.

Referenced by Clone().

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

Definition at line 118 of file metaact.cxx.

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

Definition at line 121 of file metaact.cxx.

References maColor, and PIXEL.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 132 of file metaact.cxx.

References MetaPixelAction().

void MetaPixelAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 127 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 ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 137 of file metaact.cxx.

References maPt.

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

Reimplemented from MetaAction.

Definition at line 142 of file metaact.cxx.

References maPt.

void MetaPixelAction::SetColor ( Color  rColor)
inline

Definition at line 127 of file metaact.hxx.

void MetaPixelAction::SetPoint ( const Point rPt)
inline

Definition at line 126 of file metaact.hxx.

Member Data Documentation

Color MetaPixelAction::maColor
private

Definition at line 105 of file metaact.hxx.

Referenced by Execute().

Point MetaPixelAction::maPt
private

Definition at line 104 of file metaact.hxx.

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


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