#include <Fill.h>
Classes | |
struct | StopInfo |
Public Member Functions | |
GradientFill (const MSPUBCollector *owner, double angle=0, int type=7) | |
void | setFillCenter (double left, double top, double right, double bottom) |
void | addColor (ColorReference c, unsigned offsetPercent, double opacity) |
void | addColorReverse (ColorReference c, unsigned offsetPercent, double opacity) |
void | completeComplexFill () |
WPXPropertyListVector | getProperties (WPXPropertyList *out) const |
Private Member Functions | |
GradientFill (const GradientFill &) | |
GradientFill & | operator= (const GradientFill &) |
Private Attributes | |
std::vector< StopInfo > | m_stops |
double | m_angle |
int | m_type |
double | m_fillLeftVal |
double | m_fillTopVal |
double | m_fillRightVal |
double | m_fillBottomVal |
GradientFill::GradientFill | ( | const MSPUBCollector * | owner, |
double | angle = 0 , |
||
int | type = 7 |
||
) |
libmspub::GradientFill::GradientFill | ( | const GradientFill & | ) | [inline, private] |
void GradientFill::addColor | ( | ColorReference | c, |
unsigned | offsetPercent, | ||
double | opacity | ||
) |
void GradientFill::addColorReverse | ( | ColorReference | c, |
unsigned | offsetPercent, | ||
double | opacity | ||
) |
void GradientFill::completeComplexFill | ( | ) |
WPXPropertyListVector GradientFill::getProperties | ( | WPXPropertyList * | out | ) | const [virtual] |
Implements libmspub::Fill.
GradientFill& libmspub::GradientFill::operator= | ( | const GradientFill & | ) | [private] |
void GradientFill::setFillCenter | ( | double | left, |
double | top, | ||
double | right, | ||
double | bottom | ||
) |
double libmspub::GradientFill::m_angle [private] |
Referenced by getProperties().
double libmspub::GradientFill::m_fillBottomVal [private] |
Referenced by getProperties(), and setFillCenter().
double libmspub::GradientFill::m_fillLeftVal [private] |
Referenced by getProperties(), and setFillCenter().
double libmspub::GradientFill::m_fillRightVal [private] |
Referenced by getProperties(), and setFillCenter().
double libmspub::GradientFill::m_fillTopVal [private] |
Referenced by getProperties(), and setFillCenter().
std::vector<StopInfo> libmspub::GradientFill::m_stops [private] |
Referenced by addColor(), addColorReverse(), completeComplexFill(), and getProperties().
int libmspub::GradientFill::m_type [private] |
Referenced by getProperties().