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

#include <metaact.hxx>

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

Public Member Functions

 MetaHatchAction ()
 
 MetaHatchAction (MetaHatchAction const &)=default
 
 MetaHatchAction (MetaHatchAction &&)=default
 
MetaHatchActionoperator= (MetaHatchAction const &)=delete
 
MetaHatchActionoperator= (MetaHatchAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaHatchAction (tools::PolyPolygon aPolyPoly, const Hatch &rHatch)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::PolyPolygonGetPolyPolygon () const
 
const HatchGetHatch () const
 
void SetPolyPolygon (const tools::PolyPolygon &rPolyPoly)
 
void SetHatch (const Hatch &rHatch)
 
- 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 ~MetaHatchAction () override
 

Private Attributes

tools::PolyPolygon maPolyPoly
 
Hatch maHatch
 

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

Constructor & Destructor Documentation

◆ MetaHatchAction() [1/4]

MetaHatchAction::MetaHatchAction ( )

Definition at line 1278 of file metaact.cxx.

References HATCH.

Referenced by Clone().

◆ MetaHatchAction() [2/4]

MetaHatchAction::MetaHatchAction ( MetaHatchAction const &  )
default

◆ MetaHatchAction() [3/4]

MetaHatchAction::MetaHatchAction ( MetaHatchAction &&  )
default

◆ ~MetaHatchAction()

MetaHatchAction::~MetaHatchAction ( )
overrideprivatevirtual

Definition at line 1282 of file metaact.cxx.

◆ MetaHatchAction() [4/4]

MetaHatchAction::MetaHatchAction ( tools::PolyPolygon  aPolyPoly,
const Hatch rHatch 
)

Definition at line 1285 of file metaact.cxx.

References HATCH.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 1296 of file metaact.cxx.

References MetaHatchAction().

◆ Execute()

void MetaHatchAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1291 of file metaact.cxx.

References maHatch, maPolyPoly, and pOut.

◆ GetHatch()

const Hatch & MetaHatchAction::GetHatch ( ) const
inline

◆ GetPolyPolygon()

const tools::PolyPolygon & MetaHatchAction::GetPolyPolygon ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 1301 of file metaact.cxx.

References maPolyPoly, and tools::PolyPolygon::Move().

◆ operator=() [1/2]

MetaHatchAction & MetaHatchAction::operator= ( MetaHatchAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 1306 of file metaact.cxx.

References tools::PolyPolygon::Count(), i, maPolyPoly, and nCount.

◆ SetHatch()

void MetaHatchAction::SetHatch ( const Hatch rHatch)
inline

Definition at line 1083 of file metaact.hxx.

◆ SetPolyPolygon()

void MetaHatchAction::SetPolyPolygon ( const tools::PolyPolygon rPolyPoly)
inline

Definition at line 1082 of file metaact.hxx.

Member Data Documentation

◆ maHatch

Hatch MetaHatchAction::maHatch
private

Definition at line 1061 of file metaact.hxx.

Referenced by Execute().

◆ maPolyPoly

tools::PolyPolygon MetaHatchAction::maPolyPoly
private

Definition at line 1060 of file metaact.hxx.

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


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