10 #ifndef INCLUDED_FILL_H 11 #define INCLUDED_FILL_H 15 #include <librevenge/librevenge.h> 28 virtual void getProperties(librevenge::RVNGPropertyList *out)
const = 0;
45 void getProperties(librevenge::RVNGPropertyList *out)
const override;
57 void getProperties(librevenge::RVNGPropertyList *out)
const override;
69 void getProperties(librevenge::RVNGPropertyList *out)
const override;
93 void setFillCenter(
double left,
double top,
double right,
double bottom);
97 void getProperties(librevenge::RVNGPropertyList *out)
const override;
const MSPUBCollector * m_owner
Definition: Fill.h:25
ImgFill(const ImgFill &)
Definition: Fill.h:47
std::vector< StopInfo > m_stops
Definition: Fill.h:84
SolidFill(const SolidFill &)
Definition: Fill.h:71
double m_opacity
Definition: Fill.h:81
ColorReference m_color
Definition: Fill.h:65
double m_fillRightVal
Definition: Fill.h:89
ImgFill & operator=(const ImgFill &)
double m_fillBottomVal
Definition: Fill.h:90
int m_type
Definition: Fill.h:86
StopInfo(ColorReference colorReference, unsigned offsetPercent, double opacity)
Definition: Fill.h:82
PatternFill & operator=(const ImgFill &)
GradientFill & operator=(const GradientFill &)
double m_angle
Definition: Fill.h:85
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:91
bool m_isTexture
Definition: Fill.h:40
PatternFill(const PatternFill &)
Definition: Fill.h:59
ColorReference m_fg
Definition: Fill.h:53
Definition: ColorReference.h:19
void addColorReverse(ColorReference c, unsigned offsetPercent, double opacity)
Definition: Fill.cpp:119
ColorReference m_colorReference
Definition: Fill.h:79
virtual ~Fill()
Definition: Fill.h:29
SolidFill & operator=(const SolidFill &)
int m_rotation
Definition: Fill.h:42
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:29
ImgFill(unsigned imgIndex, const MSPUBCollector *owner, bool isTexture, int rotation)
Definition: Fill.cpp:25
void addColor(ColorReference c, unsigned offsetPercent, double opacity)
Definition: Fill.cpp:114
unsigned m_offsetPercent
Definition: Fill.h:80
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:55
unsigned m_imgIndex
Definition: Fill.h:38
ColorReference m_bg
Definition: Fill.h:54
double m_fillLeftVal
Definition: Fill.h:87
Fill(const MSPUBCollector *owner)
Definition: Fill.cpp:21
GradientFill(const MSPUBCollector *owner, double angle=0, int type=7)
Definition: Fill.cpp:102
Fill & operator=(const Fill &)
void getProperties(librevenge::RVNGPropertyList *out) const override
Definition: Fill.cpp:134
void completeComplexFill()
Definition: Fill.cpp:124
SolidFill(ColorReference color, double opacity, const MSPUBCollector *owner)
Definition: Fill.cpp:87
void setFillCenter(double left, double top, double right, double bottom)
Definition: Fill.cpp:106
Definition: MSPUBCollector.h:44
GradientFill(const GradientFill &)
Definition: Fill.h:99
double m_fillTopVal
Definition: Fill.h:88
Fill(const Fill &)
Definition: Fill.h:31
PatternFill(unsigned imgIndex, const MSPUBCollector *owner, ColorReference fg, ColorReference bg)
Definition: Fill.cpp:51
virtual void getProperties(librevenge::RVNGPropertyList *out) const =0
double m_opacity
Definition: Fill.h:66