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

#include <hatch.hxx>

Collaboration diagram for Hatch:
[legend]

Public Member Functions

 Hatch ()
 
 Hatch (const Hatch &rHatch)
 
 Hatch (HatchStyle eStyle, const Color &rHatchColor, tools::Long nDistance, Degree10 nAngle10)
 
 ~Hatch ()
 
Hatchoperator= (const Hatch &rHatch)
 
bool operator== (const Hatch &rHatch) const
 
bool operator!= (const Hatch &rHatch) const
 
HatchStyle GetStyle () const
 
void SetColor (const Color &rColor)
 
const ColorGetColor () const
 
void SetDistance (tools::Long nDistance)
 
tools::Long GetDistance () const
 
void SetAngle (Degree10 nAngle10)
 
Degree10 GetAngle () const
 

Private Attributes

o3tl::cow_wrapper< ImplHatchmpImplHatch
 

Friends

SvStreamReadHatch (SvStream &rIStm, Hatch &rHatch)
 
SvStreamWriteHatch (SvStream &rOStm, const Hatch &rHatch)
 

Detailed Description

Definition at line 46 of file hatch.hxx.

Constructor & Destructor Documentation

◆ Hatch() [1/3]

Hatch::Hatch ( )
default

◆ Hatch() [2/3]

Hatch::Hatch ( const Hatch rHatch)
default

◆ Hatch() [3/3]

Hatch::Hatch ( HatchStyle  eStyle,
const Color rHatchColor,
tools::Long  nDistance,
Degree10  nAngle10 
)

Definition at line 45 of file gdi/hatch.cxx.

References mpImplHatch.

◆ ~Hatch()

Hatch::~Hatch ( )
default

Member Function Documentation

◆ GetAngle()

Degree10 Hatch::GetAngle ( ) const
inline

Definition at line 68 of file hatch.hxx.

Referenced by OutputDevice::DrawHatch(), and GDIMetaFile::Rotate().

◆ GetColor()

const Color & Hatch::GetColor ( ) const
inline

◆ GetDistance()

tools::Long Hatch::GetDistance ( ) const
inline

Definition at line 65 of file hatch.hxx.

Referenced by OutputDevice::DrawHatch(), and MetaHatchAction::Execute().

◆ GetStyle()

HatchStyle Hatch::GetStyle ( ) const
inline

Definition at line 59 of file hatch.hxx.

Referenced by OutputDevice::DrawHatch().

◆ operator!=()

bool Hatch::operator!= ( const Hatch rHatch) const
inline

Definition at line 57 of file hatch.hxx.

References operator==().

◆ operator=()

Hatch & Hatch::operator= ( const Hatch rHatch)
default

◆ operator==()

bool Hatch::operator== ( const Hatch rHatch) const

Definition at line 58 of file gdi/hatch.cxx.

References mpImplHatch.

Referenced by operator!=().

◆ SetAngle()

void Hatch::SetAngle ( Degree10  nAngle10)

Definition at line 74 of file gdi/hatch.cxx.

References mpImplHatch.

Referenced by GDIMetaFile::Rotate().

◆ SetColor()

void Hatch::SetColor ( const Color rColor)

Definition at line 64 of file gdi/hatch.cxx.

References mpImplHatch.

Referenced by OutputDevice::DrawHatch(), and GDIMetaFile::ImplExchangeColors().

◆ SetDistance()

void Hatch::SetDistance ( tools::Long  nDistance)

Definition at line 69 of file gdi/hatch.cxx.

References mpImplHatch.

Referenced by OutputDevice::DrawHatch().

Friends And Related Function Documentation

◆ ReadHatch

SvStream & ReadHatch ( SvStream rIStm,
Hatch rHatch 
)
friend

Definition at line 79 of file gdi/hatch.cxx.

◆ WriteHatch

SvStream & WriteHatch ( SvStream rOStm,
const Hatch rHatch 
)
friend

Definition at line 101 of file gdi/hatch.cxx.

Member Data Documentation

◆ mpImplHatch

o3tl::cow_wrapper< ImplHatch > Hatch::mpImplHatch
private

Definition at line 74 of file hatch.hxx.

Referenced by Hatch(), operator==(), SetAngle(), SetColor(), and SetDistance().


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