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 (const ::basegfx::B2DPolygon &rGradientPoly, 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 57 of file parametricpolypolygon.hxx.

Constructor & Destructor Documentation

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

Definition at line 59 of file parametricpolypolygon.hxx.

Member Data Documentation

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

Gradient colors.

Definition at line 79 of file parametricpolypolygon.hxx.

Referenced by cairocanvas::doOperation().

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

Polygonal gradient shape (ignored for linear and axial gradient)

Definition at line 73 of file parametricpolypolygon.hxx.

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

Gradient color stops.

Definition at line 82 of file parametricpolypolygon.hxx.

Referenced by cairocanvas::doOperation().

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

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

Definition at line 85 of file parametricpolypolygon.hxx.

Referenced by cairocanvas::doOperation().

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

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

Definition at line 76 of file parametricpolypolygon.hxx.


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