LibreOffice Module oox (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
oox::drawingml::GradientFillProperties Struct Reference

#include <fillproperties.hxx>

Public Types

typedef ::std::multimap< double, ColorGradientStopMap

Public Member Functions

void assignUsed (const GradientFillProperties &rSourceProps)
 True = rotate gradient with shape. More...

Public Attributes

GradientStopMap maGradientStops
std::optional< css::geometry::IntegerRectangle2D > moFillToRect
 Gradient stops (colors/transparence). More...
std::optional< css::geometry::IntegerRectangle2D > moTileRect
std::optional< sal_Int32 > moGradientPath
std::optional< sal_Int32 > moShadeAngle
 If set, gradient follows rectangle, circle, or shape. More...
std::optional< sal_Int32 > moShadeFlip
 Rotation angle of linear gradients. More...
std::optional< bool > moShadeScaled
 Flip mode of gradient, if not stretched to shape. More...
std::optional< bool > moRotateWithShape
 True = scale gradient into shape. More...

Detailed Description

Definition at line 47 of file fillproperties.hxx.

Member Typedef Documentation

◆ GradientStopMap

Definition at line 49 of file fillproperties.hxx.

Member Function Documentation

◆ assignUsed()

void oox::drawingml::GradientFillProperties::assignUsed ( const GradientFillProperties rSourceProps)

True = rotate gradient with shape.

Overwrites all members that are explicitly set in rSourceProps.

Definition at line 345 of file fillproperties.cxx.

References oox::assignIfUsed(), maGradientStops, moFillToRect, moGradientPath, moRotateWithShape, moShadeAngle, moShadeFlip, moShadeScaled, and moTileRect.

Referenced by oox::drawingml::FillProperties::assignUsed().

Member Data Documentation

◆ maGradientStops

GradientStopMap oox::drawingml::GradientFillProperties::maGradientStops

◆ moFillToRect

std::optional< css::geometry::IntegerRectangle2D > oox::drawingml::GradientFillProperties::moFillToRect

◆ moGradientPath

std::optional< sal_Int32 > oox::drawingml::GradientFillProperties::moGradientPath

◆ moRotateWithShape

std::optional< bool > oox::drawingml::GradientFillProperties::moRotateWithShape

◆ moShadeAngle

std::optional< sal_Int32 > oox::drawingml::GradientFillProperties::moShadeAngle

If set, gradient follows rectangle, circle, or shape.

Definition at line 55 of file fillproperties.hxx.

Referenced by assignUsed(), oox::drawingml::GradientFillContext::onCreateContext(), and oox::drawingml::FillProperties::pushToPropMap().

◆ moShadeFlip

std::optional< sal_Int32 > oox::drawingml::GradientFillProperties::moShadeFlip

Rotation angle of linear gradients.

Definition at line 56 of file fillproperties.hxx.

Referenced by assignUsed(), and oox::drawingml::GradientFillContext::GradientFillContext().

◆ moShadeScaled

std::optional< bool > oox::drawingml::GradientFillProperties::moShadeScaled

Flip mode of gradient, if not stretched to shape.

Definition at line 57 of file fillproperties.hxx.

Referenced by assignUsed(), and oox::drawingml::GradientFillContext::onCreateContext().

◆ moTileRect

std::optional< css::geometry::IntegerRectangle2D > oox::drawingml::GradientFillProperties::moTileRect

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