MWAWGraphicStyle::Hatch Struct Reference

a basic hatch used in MWAWGraphicStyle More...

#include <MWAWGraphicStyle.hxx>

Public Types

enum  Type { H_None, H_Single, H_Double, H_Triple }
 the potential type More...
 

Public Member Functions

 Hatch ()
 constructor More...
 
bool hasHatch () const
 returns true if the gradient is defined More...
 
void addTo (librevenge::RVNGPropertyList &propList) const
 add a hatch to the propList More...
 
int cmp (Hatch const &a) const
 compare two hatchs More...
 

Public Attributes

Type m_type
 the hatch type More...
 
MWAWColor m_color
 the hatch color More...
 
float m_distance
 the hatch distance in inches More...
 
float m_rotation
 the rotation (in degrees) More...
 

Friends

std::ostream & operator<< (std::ostream &o, Hatch const &hatch)
 a print operator More...
 

Detailed Description

a basic hatch used in MWAWGraphicStyle

Member Enumeration Documentation

◆ Type

the potential type

Enumerator
H_None 
H_Single 
H_Double 
H_Triple 

Constructor & Destructor Documentation

◆ Hatch()

MWAWGraphicStyle::Hatch::Hatch ( )
inline

constructor

Member Function Documentation

◆ addTo()

void MWAWGraphicStyle::Hatch::addTo ( librevenge::RVNGPropertyList &  propList) const

add a hatch to the propList

Referenced by MWAWGraphicStyle::addTo().

◆ cmp()

int MWAWGraphicStyle::Hatch::cmp ( Hatch const &  a) const
inline

compare two hatchs

Referenced by MWAWGraphicStyle::cmp().

◆ hasHatch()

bool MWAWGraphicStyle::Hatch::hasHatch ( ) const
inline

returns true if the gradient is defined

Referenced by MWAWGraphicStyle::hasHatch(), and Canvas5StyleManager::updateSurfaceColor().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
Hatch const &  hatch 
)
friend

a print operator

Member Data Documentation

◆ m_color

MWAWColor MWAWGraphicStyle::Hatch::m_color

the hatch color

Referenced by cmp(), and Canvas5StyleManager::readHatch().

◆ m_distance

float MWAWGraphicStyle::Hatch::m_distance

the hatch distance in inches

Referenced by cmp(), hasHatch(), and Canvas5StyleManager::readHatch().

◆ m_rotation

float MWAWGraphicStyle::Hatch::m_rotation

the rotation (in degrees)

Referenced by cmp(), and Canvas5StyleManager::readHatch().

◆ m_type

Type MWAWGraphicStyle::Hatch::m_type

the hatch type

Referenced by cmp(), hasHatch(), and Canvas5StyleManager::readHatch().


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

Generated for libmwaw by doxygen 1.8.14