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 | |
bool | hasHatch () const |
returns true if the gradient is defined | |
void | addTo (librevenge::RVNGPropertyList &propList) const |
add a hatch to the propList | |
int | cmp (Hatch const &a) const |
compare two hatchs | |
Public Attributes | |
Type | m_type |
the hatch type | |
MWAWColor | m_color |
the hatch color | |
float | m_distance |
the hatch distance in inches | |
float | m_rotation |
the rotation (in degrees) | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Hatch const &hatch) |
a print operator | |
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().