WPSGraphicStyle::GradientStop Struct Reference

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

#include <WPSGraphicStyle.h>

List of all members.

Public Member Functions

 GradientStop (float offset=0.0, WPSColor const &col=WPSColor::black(), float opacity=1.0)
 constructor
int cmp (GradientStop const &a) const
 compare two gradient

Public Attributes

float m_offset
 the offset
WPSColor m_color
 the color
float m_opacity
 the opacity

Friends

std::ostream & operator<< (std::ostream &o, GradientStop const &st)
 a print operator

Detailed Description

a structure used to define the gradient limit


Constructor & Destructor Documentation

WPSGraphicStyle::GradientStop::GradientStop ( float  offset = 0.0,
WPSColor const &  col = WPSColor::black(),
float  opacity = 1.0 
) [inline]

constructor


Member Function Documentation

int WPSGraphicStyle::GradientStop::cmp ( GradientStop const &  a) const [inline]

compare two gradient


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
GradientStop const &  st 
) [friend]

a print operator


Member Data Documentation

the offset

Referenced by cmp().

the opacity

Referenced by cmp().


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