10 #ifndef INCLUDED_FILL_H 11 #define INCLUDED_FILL_H 16 #include <librevenge/librevenge.h> 29 virtual void getProperties(librevenge::RVNGPropertyList *out)
const = 0;
46 void getProperties(librevenge::RVNGPropertyList *out)
const override;
58 void getProperties(librevenge::RVNGPropertyList *out)
const override;
70 void getProperties(librevenge::RVNGPropertyList *out)
const override;
83 StopInfo(
ColorReference colorReference,
unsigned offsetPercent,
double opacity) : m_colorReference(colorReference), m_offsetPercent(offsetPercent), m_opacity(opacity) { }
94 void setFillCenter(
double left,
double top,
double right,
double bottom);
95 void addColor(
ColorReference c,
unsigned offsetPercent,
double opacity);
96 void addColorReverse(
ColorReference c,
unsigned offsetPercent,
double opacity);
97 void completeComplexFill();
98 void getProperties(librevenge::RVNGPropertyList *out)
const override;
100 GradientFill(
const GradientFill &) :
Fill(nullptr), m_stops(), m_angle(0), m_type(7), m_fillLeftVal(0.0), m_fillTopVal(0.0), m_fillRightVal(0.0), m_fillBottomVal(0.0) { }
const MSPUBCollector * m_owner
Definition: Fill.h:26
ImgFill(const ImgFill &)
Definition: Fill.h:48
std::vector< StopInfo > m_stops
Definition: Fill.h:85
SolidFill(const SolidFill &)
Definition: Fill.h:72
double m_opacity
Definition: Fill.h:82
ColorReference m_color
Definition: Fill.h:66
double m_fillRightVal
Definition: Fill.h:90
double m_fillBottomVal
Definition: Fill.h:91
int m_type
Definition: Fill.h:87
StopInfo(ColorReference colorReference, unsigned offsetPercent, double opacity)
Definition: Fill.h:83
double m_angle
Definition: Fill.h:86
bool m_isTexture
Definition: Fill.h:41
PatternFill(const PatternFill &)
Definition: Fill.h:60
ColorReference m_fg
Definition: Fill.h:54
Definition: ColorReference.h:17
ColorReference m_colorReference
Definition: Fill.h:80
virtual ~Fill()
Definition: Fill.h:30
int m_rotation
Definition: Fill.h:43
unsigned m_offsetPercent
Definition: Fill.h:81
unsigned m_imgIndex
Definition: Fill.h:39
ColorReference m_bg
Definition: Fill.h:55
double m_fillLeftVal
Definition: Fill.h:88
Fill(const MSPUBCollector *owner)
Definition: Fill.cpp:19
Fill & operator=(const Fill &)
Definition: MSPUBCollector.h:43
GradientFill(const GradientFill &)
Definition: Fill.h:100
double m_fillTopVal
Definition: Fill.h:89
Fill(const Fill &)
Definition: Fill.h:32
virtual void getProperties(librevenge::RVNGPropertyList *out) const =0
double m_opacity
Definition: Fill.h:67