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 &)
 
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 ~MetaPixelAction () override
 

Private Attributes

Point maPt
 
Color maColor
 

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

Constructor & Destructor Documentation

◆ MetaPixelAction() [1/4]

MetaPixelAction::MetaPixelAction ( )

Definition at line 116 of file metaact.cxx.

References PIXEL.

Referenced by Clone().

◆ MetaPixelAction() [2/4]

MetaPixelAction::MetaPixelAction ( MetaPixelAction const &  )
default

◆ MetaPixelAction() [3/4]

MetaPixelAction::MetaPixelAction ( MetaPixelAction &&  )
default

◆ ~MetaPixelAction()

MetaPixelAction::~MetaPixelAction ( )
overrideprivatevirtual

Definition at line 120 of file metaact.cxx.

◆ MetaPixelAction() [4/4]

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

Definition at line 123 of file metaact.cxx.

References maColor, and PIXEL.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 134 of file metaact.cxx.

References MetaPixelAction().

◆ Execute()

void MetaPixelAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 129 of file metaact.cxx.

References maColor, maPt, and pOut.

◆ GetColor()

const Color & MetaPixelAction::GetColor ( ) const
inline

◆ GetPoint()

const Point & MetaPixelAction::GetPoint ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 139 of file metaact.cxx.

References maPt.

◆ operator=() [1/2]

MetaPixelAction & MetaPixelAction::operator= ( MetaPixelAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 144 of file metaact.cxx.

References maPt.

◆ SetColor()

void MetaPixelAction::SetColor ( Color  rColor)
inline

Definition at line 128 of file metaact.hxx.

References maColor.

◆ SetPoint()

void MetaPixelAction::SetPoint ( const Point rPt)
inline

Definition at line 127 of file metaact.hxx.

Member Data Documentation

◆ maColor

Color MetaPixelAction::maColor
private

Definition at line 106 of file metaact.hxx.

Referenced by Execute().

◆ maPt

Point MetaPixelAction::maPt
private

Definition at line 105 of file metaact.hxx.

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


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