diff options
Diffstat (limited to 'basegfx/inc/basegfx/tools/gradienttools.hxx')
-rw-r--r-- | basegfx/inc/basegfx/tools/gradienttools.hxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/basegfx/inc/basegfx/tools/gradienttools.hxx b/basegfx/inc/basegfx/tools/gradienttools.hxx index dea18fe67565..a84d6f8cc1ba 100644 --- a/basegfx/inc/basegfx/tools/gradienttools.hxx +++ b/basegfx/inc/basegfx/tools/gradienttools.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -99,11 +99,11 @@ namespace basegfx Gradient angle (from ODF) */ ODFGradientInfo& createLinearODFGradientInfo(ODFGradientInfo& o_rGradientInfo, - const B2DRange& rTargetArea, - sal_uInt32 nSteps, - double fBorder, + const B2DRange& rTargetArea, + sal_uInt32 nSteps, + double fBorder, double fAngle); - + /** Calculate linear gradient blend value This method generates you the lerp alpha value for @@ -158,9 +158,9 @@ namespace basegfx Gradient angle (from ODF) */ ODFGradientInfo& createAxialODFGradientInfo(ODFGradientInfo& o_rGradientInfo, - const B2DRange& rTargetArea, - sal_uInt32 nSteps, - double fBorder, + const B2DRange& rTargetArea, + sal_uInt32 nSteps, + double fBorder, double fAngle); /** Calculate axial gradient blend value @@ -189,7 +189,7 @@ namespace basegfx return t; } - + /** Create matrix for ODF's radial gradient definition @param o_rGradientInfo @@ -213,11 +213,11 @@ namespace basegfx Gradient angle (from ODF) */ ODFGradientInfo& createRadialODFGradientInfo(ODFGradientInfo& o_rGradientInfo, - const B2DRange& rTargetArea, + const B2DRange& rTargetArea, const B2DVector& rOffset, - sal_uInt32 nSteps, + sal_uInt32 nSteps, double fBorder); - + /** Calculate radial gradient blend value This method generates you the lerp alpha value for @@ -272,10 +272,10 @@ namespace basegfx Gradient angle (from ODF) */ ODFGradientInfo& createEllipticalODFGradientInfo(ODFGradientInfo& o_rGradientInfo, - const B2DRange& rTargetArea, + const B2DRange& rTargetArea, const B2DVector& rOffset, - sal_uInt32 nSteps, - double fBorder, + sal_uInt32 nSteps, + double fBorder, double fAngle); /** Calculate elliptical gradient blend value @@ -320,10 +320,10 @@ namespace basegfx Gradient angle (from ODF) */ ODFGradientInfo& createSquareODFGradientInfo(ODFGradientInfo& o_rGradientInfo, - const B2DRange& rTargetArea, + const B2DRange& rTargetArea, const B2DVector& rOffset, - sal_uInt32 nSteps, - double fBorder, + sal_uInt32 nSteps, + double fBorder, double fAngle); /** Calculate square gradient blend value @@ -381,10 +381,10 @@ namespace basegfx Gradient angle (from ODF) */ ODFGradientInfo& createRectangularODFGradientInfo(ODFGradientInfo& o_rGradientInfo, - const B2DRange& rTargetArea, + const B2DRange& rTargetArea, const B2DVector& rOffset, - sal_uInt32 nSteps, - double fBorder, + sal_uInt32 nSteps, + double fBorder, double fAngle); /** Calculate rectangular gradient blend value |