#include <gradienttools.hxx>

Public Attributes | |
| B2DHomMatrix | maTextureTransform |
| transformation mapping from [0,1]^2 texture coordinate space to [0,1]^2 shape coordinate space | |
| B2DHomMatrix | maBackTextureTransform |
| transformation mapping from [0,1]^2 shape coordinate space to [0,1]^2 texture coordinate space. | |
| double | mfAspectRatio |
| Aspect ratio of the gradient. | |
| sal_uInt32 | mnSteps |
| Requested gradient steps to render. | |
This struct collects all data necessary for rendering ODF 1.2-compatible gradients. Use the createXXXODFGradientInfo() methods below for initializing from ODF attributes.
Definition at line 45 of file gradienttools.hxx.
transformation mapping from [0,1]^2 texture coordinate space to [0,1]^2 shape coordinate space
Definition at line 50 of file gradienttools.hxx.
Referenced by basegfx::init1DGradientInfo(), basegfx::initEllipticalGradientInfo(), and basegfx::initRectGradientInfo().
transformation mapping from [0,1]^2 shape coordinate space to [0,1]^2 texture coordinate space.
This is the transformation commonly used to create gradients from a scanline rasterizer (put shape u/v coordinates into it, get texture s/t coordinates out of it)
Definition at line 58 of file gradienttools.hxx.
Referenced by basegfx::tools::getAxialGradientAlpha(), basegfx::tools::getLinearGradientAlpha(), basegfx::tools::getRadialGradientAlpha(), basegfx::tools::getSquareGradientAlpha(), basegfx::init1DGradientInfo(), basegfx::initEllipticalGradientInfo(), and basegfx::initRectGradientInfo().
Aspect ratio of the gradient.
Only used in drawinglayer for generating nested gradient polygons currently. Already catered for in the transformations above.
Definition at line 64 of file gradienttools.hxx.
Referenced by basegfx::init1DGradientInfo(), basegfx::initEllipticalGradientInfo(), and basegfx::initRectGradientInfo().
| sal_uInt32 basegfx::ODFGradientInfo::mnSteps |
Requested gradient steps to render.
See the implementations of the getXXXGradientAlpha() methods below, the semantic differs slightly for the different gradient types.
Definition at line 71 of file gradienttools.hxx.
Referenced by basegfx::tools::getAxialGradientAlpha(), basegfx::tools::getLinearGradientAlpha(), basegfx::tools::getRadialGradientAlpha(), basegfx::tools::getSquareGradientAlpha(), basegfx::init1DGradientInfo(), basegfx::initEllipticalGradientInfo(), and basegfx::initRectGradientInfo().
1.5.6