LibreOffice Module canvas (master) 1
Public Member Functions | Public Attributes | List of all members
canvas::ParametricPolyPolygon::Values Struct Reference

Structure of defining values for the ParametricPolyPolygon. More...

#include <parametricpolypolygon.hxx>

Collaboration diagram for canvas::ParametricPolyPolygon::Values:
[legend]

Public Member Functions

 Values (::basegfx::B2DPolygon aGradientPoly, const css::uno::Sequence< css::uno::Sequence< double > > &rColors, const css::uno::Sequence< double > &rStops, double nAspectRatio, GradientType eType)
 

Public Attributes

const ::basegfx::B2DPolygon maGradientPoly
 Polygonal gradient shape (ignored for linear and axial gradient) More...
 
const double mnAspectRatio
 Aspect ratio of gradient, affects scaling of innermost gradient polygon. More...
 
const css::uno::Sequence< css::uno::Sequence< double > > maColors
 Gradient colors. More...
 
const css::uno::Sequence< double > maStops
 Gradient color stops. More...
 
const GradientType meType
 Type of gradient to render (as e.g. linear grads are not represented by maGradientPoly) More...
 

Detailed Description

Structure of defining values for the ParametricPolyPolygon.

This is used to copy the state of the ParametricPolyPolygon atomically.

Definition at line 56 of file parametricpolypolygon.hxx.

Constructor & Destructor Documentation

◆ Values()

canvas::ParametricPolyPolygon::Values::Values ( ::basegfx::B2DPolygon  aGradientPoly,
const css::uno::Sequence< css::uno::Sequence< double > > &  rColors,
const css::uno::Sequence< double > &  rStops,
double  nAspectRatio,
GradientType  eType 
)
inline

Definition at line 58 of file parametricpolypolygon.hxx.

References eType.

Member Data Documentation

◆ maColors

const css::uno::Sequence< css::uno::Sequence< double > > canvas::ParametricPolyPolygon::Values::maColors

Gradient colors.

Definition at line 78 of file parametricpolypolygon.hxx.

Referenced by cairocanvas::doOperation().

◆ maGradientPoly

const ::basegfx::B2DPolygon canvas::ParametricPolyPolygon::Values::maGradientPoly

Polygonal gradient shape (ignored for linear and axial gradient)

Definition at line 72 of file parametricpolypolygon.hxx.

◆ maStops

const css::uno::Sequence< double > canvas::ParametricPolyPolygon::Values::maStops

Gradient color stops.

Definition at line 81 of file parametricpolypolygon.hxx.

Referenced by cairocanvas::doOperation().

◆ meType

const GradientType canvas::ParametricPolyPolygon::Values::meType

Type of gradient to render (as e.g. linear grads are not represented by maGradientPoly)

Definition at line 84 of file parametricpolypolygon.hxx.

Referenced by cairocanvas::doOperation().

◆ mnAspectRatio

const double canvas::ParametricPolyPolygon::Values::mnAspectRatio

Aspect ratio of gradient, affects scaling of innermost gradient polygon.

Definition at line 75 of file parametricpolypolygon.hxx.


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