LibreOffice Module drawinglayer (master) 1
Public Member Functions | Private Attributes | List of all members
drawinglayer::primitive2d::SvgGradientEntry Class Reference

a single GradientStop defining a color and opacity at a distance More...

#include <svggradientprimitive2d.hxx>

Collaboration diagram for drawinglayer::primitive2d::SvgGradientEntry:
[legend]

Public Member Functions

 SvgGradientEntry (double fOffset, const basegfx::BColor &rColor, double fOpacity)
 
double getOffset () const
 
const basegfx::BColorgetColor () const
 
double getOpacity () const
 
bool operator== (const SvgGradientEntry &rCompare) const
 
bool operator< (const SvgGradientEntry &rCompare) const
 

Private Attributes

double mfOffset
 
basegfx::BColor maColor
 
double mfOpacity
 

Detailed Description

a single GradientStop defining a color and opacity at a distance

Definition at line 36 of file svggradientprimitive2d.hxx.

Constructor & Destructor Documentation

◆ SvgGradientEntry()

drawinglayer::primitive2d::SvgGradientEntry::SvgGradientEntry ( double  fOffset,
const basegfx::BColor rColor,
double  fOpacity 
)
inline

Definition at line 44 of file svggradientprimitive2d.hxx.

Member Function Documentation

◆ getColor()

const basegfx::BColor & drawinglayer::primitive2d::SvgGradientEntry::getColor ( ) const
inline

◆ getOffset()

double drawinglayer::primitive2d::SvgGradientEntry::getOffset ( ) const
inline

◆ getOpacity()

double drawinglayer::primitive2d::SvgGradientEntry::getOpacity ( ) const
inline

◆ operator<()

bool drawinglayer::primitive2d::SvgGradientEntry::operator< ( const SvgGradientEntry rCompare) const
inline

Definition at line 62 of file svggradientprimitive2d.hxx.

References getOffset().

◆ operator==()

bool drawinglayer::primitive2d::SvgGradientEntry::operator== ( const SvgGradientEntry rCompare) const
inline

Definition at line 55 of file svggradientprimitive2d.hxx.

References getColor(), getOffset(), and getOpacity().

Member Data Documentation

◆ maColor

basegfx::BColor drawinglayer::primitive2d::SvgGradientEntry::maColor
private

Definition at line 40 of file svggradientprimitive2d.hxx.

Referenced by getColor().

◆ mfOffset

double drawinglayer::primitive2d::SvgGradientEntry::mfOffset
private

Definition at line 39 of file svggradientprimitive2d.hxx.

Referenced by getOffset().

◆ mfOpacity

double drawinglayer::primitive2d::SvgGradientEntry::mfOpacity
private

Definition at line 41 of file svggradientprimitive2d.hxx.

Referenced by getOpacity().


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