LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
Gradient Class Reference

#include <gradient.hxx>

Collaboration diagram for Gradient:
[legend]

Public Member Functions

 Gradient ()
 
 Gradient (const Gradient &rGradient)
 
 Gradient (Gradient &&rGradient)
 
 Gradient (GradientStyle eStyle, const Color &rStartColor, const Color &rEndColor)
 
 ~Gradient ()
 
void SetStyle (GradientStyle eStyle)
 
GradientStyle GetStyle () const
 
void SetStartColor (const Color &rColor)
 
const ColorGetStartColor () const
 
void SetEndColor (const Color &rColor)
 
const ColorGetEndColor () const
 
void SetAngle (sal_uInt16 nAngle)
 
sal_uInt16 GetAngle () const
 
void SetBorder (sal_uInt16 nBorder)
 
sal_uInt16 GetBorder () const
 
void SetOfsX (sal_uInt16 nOfsX)
 
sal_uInt16 GetOfsX () const
 
void SetOfsY (sal_uInt16 nOfsY)
 
sal_uInt16 GetOfsY () const
 
void SetStartIntensity (sal_uInt16 nIntens)
 
sal_uInt16 GetStartIntensity () const
 
void SetEndIntensity (sal_uInt16 nIntens)
 
sal_uInt16 GetEndIntensity () const
 
void SetSteps (sal_uInt16 nSteps)
 
sal_uInt16 GetSteps () const
 
void GetBoundRect (const tools::Rectangle &rRect, tools::Rectangle &rBoundRect, Point &rCenter) const
 
Gradientoperator= (const Gradient &rGradient)
 
Gradientoperator= (Gradient &&rGradient)
 
bool operator== (const Gradient &rGradient) const
 
bool operator!= (const Gradient &rGradient) const
 

Private Attributes

::o3tl::cow_wrapper< Impl_GradientmpImplGradient
 

Detailed Description

Definition at line 59 of file gradient.hxx.

Constructor & Destructor Documentation

Gradient::Gradient ( )
default
Gradient::Gradient ( const Gradient rGradient)
default
Gradient::Gradient ( Gradient &&  rGradient)
default
Gradient::Gradient ( GradientStyle  eStyle,
const Color rStartColor,
const Color rEndColor 
)
Gradient::~Gradient ( )
default

Member Function Documentation

sal_uInt16 Gradient::GetAngle ( ) const
inline
sal_uInt16 Gradient::GetBorder ( ) const
inline
void Gradient::GetBoundRect ( const tools::Rectangle rRect,
tools::Rectangle rBoundRect,
Point rCenter 
) const
const Color& Gradient::GetEndColor ( ) const
inline
sal_uInt16 Gradient::GetEndIntensity ( ) const
inline
sal_uInt16 Gradient::GetOfsX ( ) const
inline

Definition at line 87 of file gradient.hxx.

References Impl_Gradient::mnOfsX.

Referenced by GetBoundRect(), and TypeSerializer::writeGradient().

sal_uInt16 Gradient::GetOfsY ( ) const
inline

Definition at line 89 of file gradient.hxx.

References Impl_Gradient::mnOfsY.

Referenced by GetBoundRect(), and TypeSerializer::writeGradient().

const Color& Gradient::GetStartColor ( ) const
inline
sal_uInt16 Gradient::GetStartIntensity ( ) const
inline
sal_uInt16 Gradient::GetSteps ( ) const
inline
GradientStyle Gradient::GetStyle ( ) const
inline
bool Gradient::operator!= ( const Gradient rGradient) const
inline

Definition at line 104 of file gradient.hxx.

References operator==().

Gradient & Gradient::operator= ( const Gradient rGradient)
default
Gradient & Gradient::operator= ( Gradient &&  rGradient)
default
bool Gradient::operator== ( const Gradient rGradient) const

Definition at line 218 of file gdi/gradient.cxx.

References mpImplGradient.

Referenced by operator!=().

void Gradient::SetAngle ( sal_uInt16  nAngle)
void Gradient::SetBorder ( sal_uInt16  nBorder)
void Gradient::SetEndColor ( const Color rColor)
void Gradient::SetEndIntensity ( sal_uInt16  nIntens)
void Gradient::SetOfsX ( sal_uInt16  nOfsX)
void Gradient::SetOfsY ( sal_uInt16  nOfsY)
void Gradient::SetStartColor ( const Color rColor)
void Gradient::SetStartIntensity ( sal_uInt16  nIntens)
void Gradient::SetSteps ( sal_uInt16  nSteps)
void Gradient::SetStyle ( GradientStyle  eStyle)

Member Data Documentation

::o3tl::cow_wrapper< Impl_Gradient > Gradient::mpImplGradient
private

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