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... | |
a basic hatch used in MWAWGraphicStyle
|
inline |
constructor
void MWAWGraphicStyle::Hatch::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add a hatch to the propList
Referenced by MWAWGraphicStyle::addTo().
|
inline |
compare two hatchs
Referenced by MWAWGraphicStyle::cmp().
|
inline |
returns true if the gradient is defined
Referenced by MWAWGraphicStyle::hasHatch(), and Canvas5StyleManager::updateSurfaceColor().
|
friend |
a print operator
MWAWColor MWAWGraphicStyle::Hatch::m_color |
the hatch color
Referenced by cmp(), and Canvas5StyleManager::readHatch().
float MWAWGraphicStyle::Hatch::m_distance |
the hatch distance in inches
Referenced by cmp(), hasHatch(), and Canvas5StyleManager::readHatch().
float MWAWGraphicStyle::Hatch::m_rotation |
the rotation (in degrees)
Referenced by cmp(), and Canvas5StyleManager::readHatch().
Type MWAWGraphicStyle::Hatch::m_type |
the hatch type
Referenced by cmp(), hasHatch(), and Canvas5StyleManager::readHatch().