MWAWGraphicStyle::GradientStop Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Friends | List of all members
MWAWGraphicStyle::GradientStop Struct Reference

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

`#include <MWAWGraphicStyle.hxx>`

## Public Member Functions
| GradientStop (float offset=0.0, MWAWColor const &col=MWAWColor::black(), float opacity=1.0)
| constructor More...
int | cmp (GradientStop 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, GradientStop const &st)
| a print operator More...

## Detailed Description

a structure used to define the gradient limit in MWAWGraphicStyle

## Constructor & Destructor Documentation

MWAWGraphicStyle::GradientStop::GradientStop | ( | float | offset = `0.0`,
|  | MWAWColor const & | col = `MWAWColor::black()`,
|  | float | opacity = `1.0`
| ) |  |
| inline

constructor

## Member Function Documentation

int MWAWGraphicStyle::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

MWAWColor MWAWGraphicStyle::GradientStop::m_color

the color

Referenced by cmp().

float MWAWGraphicStyle::GradientStop::m_offset

the offset

Referenced by cmp().

float MWAWGraphicStyle::GradientStop::m_opacity

the opacity

Referenced by cmp().

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

- MWAWGraphicStyle.hxx