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;
82 StopInfo(
ColorReference colorReference,
unsigned offsetPercent,
double opacity) : m_colorReference(colorReference), m_offsetPercent(offsetPercent), m_opacity(opacity) { }
93 void setFillCenter(
double left,
double top,
double right,
double bottom);
94 void addColor(
ColorReference c,
unsigned offsetPercent,
double opacity);
95 void addColorReverse(
ColorReference c,
unsigned offsetPercent,
double opacity);
96 void completeComplexFill();
97 void getProperties(librevenge::RVNGPropertyList *out)
const override;
99 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: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
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
double m_angle
Definition: Fill.h:85
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
ColorReference m_colorReference
Definition: Fill.h:79
virtual ~Fill()
Definition: Fill.h:29
int m_rotation
Definition: Fill.h:42
unsigned m_offsetPercent
Definition: Fill.h:80
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
Fill & operator=(const Fill &)
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
virtual void getProperties(librevenge::RVNGPropertyList *out) const =0
double m_opacity
Definition: Fill.h:66