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, long nDistance, sal_uInt16 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 (long nDistance)
 
long GetDistance () const
 
void SetAngle (sal_uInt16 nAngle10)
 
sal_uInt16 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 44 of file hatch.hxx.

Constructor & Destructor Documentation

Hatch::Hatch ( )
default
Hatch::Hatch ( const Hatch rHatch)
default
Hatch::Hatch ( HatchStyle  eStyle,
const Color rHatchColor,
long  nDistance,
sal_uInt16  nAngle10 
)
Hatch::~Hatch ( )
default

Member Function Documentation

sal_uInt16 Hatch::GetAngle ( ) const
inline

Definition at line 66 of file hatch.hxx.

Referenced by OutputDevice::DrawHatch().

const Color& Hatch::GetColor ( ) const
inline
long Hatch::GetDistance ( ) const
inline

Definition at line 63 of file hatch.hxx.

Referenced by OutputDevice::DrawHatch().

HatchStyle Hatch::GetStyle ( ) const
inline

Definition at line 57 of file hatch.hxx.

Referenced by OutputDevice::DrawHatch().

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

Definition at line 55 of file hatch.hxx.

References operator==().

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

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

References mpImplHatch.

Referenced by operator!=().

void Hatch::SetAngle ( sal_uInt16  nAngle10)

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

References ImplHatch::mnAngle, and mpImplHatch.

Referenced by GDIMetaFile::Rotate().

void Hatch::SetColor ( const Color rColor)

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

References ImplHatch::maColor, and mpImplHatch.

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

void Hatch::SetDistance ( long  nDistance)

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

References ImplHatch::mnDistance, and mpImplHatch.

Referenced by OutputDevice::DrawHatch().

Friends And Related Function Documentation

SvStream& ReadHatch ( SvStream rIStm,
Hatch rHatch 
)
friend

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

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

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

Member Data Documentation

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

Definition at line 72 of file hatch.hxx.

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


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