MWAWGraphicStyle::Gradient::Stop Struct Reference

a structure used to define the gradient limit in MWAWGraphicStyle More...

#include <MWAWGraphicStyle.hxx>

Public Member Functions

 Stop (float offset=0.0, MWAWColor const &col=MWAWColor::black(), float opacity=1.0)
 constructor More...
 
int cmp (Stop const &a) const
 compare two gradient More...
 

Public Attributes

float m_offset
 the offset More...
 
MWAWColor m_color
 the color More...
 
float m_opacity
 the opacity More...
 

Friends

std::ostream & operator<< (std::ostream &o, Stop const &st)
 a print operator More...
 

Detailed Description

a structure used to define the gradient limit in MWAWGraphicStyle

Constructor & Destructor Documentation

◆ Stop()

MWAWGraphicStyle::Gradient::Stop::Stop ( float  offset = 0.0,
MWAWColor const &  col = MWAWColor::black(),
float  opacity = 1.0 
)
inlineexplicit

constructor

Member Function Documentation

◆ cmp()

int MWAWGraphicStyle::Gradient::Stop::cmp ( Stop const &  a) const
inline

compare two gradient

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
Stop const &  st 
)
friend

a print operator

Member Data Documentation

◆ m_color

MWAWColor MWAWGraphicStyle::Gradient::Stop::m_color

the color

Referenced by cmp().

◆ m_offset

float MWAWGraphicStyle::Gradient::Stop::m_offset

the offset

Referenced by cmp().

◆ m_opacity

float MWAWGraphicStyle::Gradient::Stop::m_opacity

the opacity

Referenced by cmp().


The documentation for this struct was generated from the following file:

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20