LibreOffice Module basegfx (master) 1
Namespaces | Functions
gradienttools.hxx File Reference
#include <config_options.h>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/color/bcolor.hxx>
#include <utility>
#include <basegfx/basegfxdllapi.h>
#include <vector>
#include <com/sun/star/awt/ColorStopSequence.hdl>
#include <basegfx/utils/bgradient.hxx>
#include <osl/endian.h>
Include dependency graph for gradienttools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::uno
 
namespace  com::sun::star::awt
 
namespace  basegfx
 
namespace  basegfx::utils
 

Functions

class basegfx::UNLESS_MERGELIBS (BASEGFX_DLLPUBLIC) ODFGradientInfo
 Gradient definition as used in ODF 1.2. More...
 
void basegfx::utils::prepareColorStops (const basegfx::BGradient &rGradient, BColorStops &rColorStops, BColor &rSingleColor)
 
void basegfx::utils::synchronizeColorStops (BColorStops &rColorStops, BColorStops &rAlphaStops, const BColor &rSingleColor, const BColor &rSingleAlpha)
 
sal_uInt32 basegfx::utils::calculateNumberOfSteps (sal_uInt32 nRequestedSteps, const BColor &rStart, const BColor &rEnd)
 
ODFGradientInfo basegfx::utils::createLinearODFGradientInfo (const B2DRange &rTargetArea, sal_uInt32 nRequestedSteps, double fBorder, double fAngle)
 Create matrix for ODF's linear gradient definition. More...
 
double basegfx::utils::getLinearGradientAlpha (const B2DPoint &rUV, const ODFGradientInfo &rGradInfo)
 Calculate linear gradient blend value. More...
 
ODFGradientInfo basegfx::utils::createAxialODFGradientInfo (const B2DRange &rTargetArea, sal_uInt32 nRequestedSteps, double fBorder, double fAngle)
 Create matrix for ODF's axial gradient definition. More...
 
double basegfx::utils::getAxialGradientAlpha (const B2DPoint &rUV, const ODFGradientInfo &rGradInfo)
 Calculate axial gradient blend value. More...
 
ODFGradientInfo basegfx::utils::createRadialODFGradientInfo (const B2DRange &rTargetArea, const B2DVector &rOffset, sal_uInt32 nRequestedSteps, double fBorder)
 Create matrix for ODF's radial gradient definition. More...
 
double basegfx::utils::getRadialGradientAlpha (const B2DPoint &rUV, const ODFGradientInfo &rGradInfo)
 Calculate radial gradient blend value. More...
 
ODFGradientInfo basegfx::utils::createEllipticalODFGradientInfo (const B2DRange &rTargetArea, const B2DVector &rOffset, sal_uInt32 nRequestedSteps, double fBorder, double fAngle)
 Create matrix for ODF's elliptical gradient definition. More...
 
double basegfx::utils::getEllipticalGradientAlpha (const B2DPoint &rUV, const ODFGradientInfo &rGradInfo)
 Calculate elliptical gradient blend value. More...
 
ODFGradientInfo basegfx::utils::createSquareODFGradientInfo (const B2DRange &rTargetArea, const B2DVector &rOffset, sal_uInt32 nRequestedSteps, double fBorder, double fAngle)
 Create matrix for ODF's square gradient definition. More...
 
double basegfx::utils::getSquareGradientAlpha (const B2DPoint &rUV, const ODFGradientInfo &rGradInfo)
 Calculate square gradient blend value. More...
 
ODFGradientInfo basegfx::utils::createRectangularODFGradientInfo (const B2DRange &rTargetArea, const B2DVector &rOffset, sal_uInt32 nRequestedSteps, double fBorder, double fAngle)
 Create matrix for ODF's rectangular gradient definition. More...
 
double basegfx::utils::getRectangularGradientAlpha (const B2DPoint &rUV, const ODFGradientInfo &rGradInfo)
 Calculate rectangular gradient blend value. More...