1
diff -rup offapi-orig/com/sun/star/rendering/XColorSpace.idl offapi/com/sun/star/rendering/XColorSpace.idl
2
--- offapi-orig/com/sun/star/rendering/XColorSpace.idl 2007-09-05 21:51:02.000000000 +0200
3
+++ offapi/com/sun/star/rendering/XColorSpace.idl 2007-09-05 22:00:41.000000000 +0200
4
@@ -63,6 +63,7 @@ interface XColorSpace
6
/// Shorthand for the device-dependent color components, and easier to read
7
typedef double ColorComponent;
8
+typedef sequence<ColorComponent> Color;
12
diff -rup offapi-orig/com/sun/star/rendering/XParametricPolyPolygon2DFactory.idl offapi/com/sun/star/rendering/XParametricPolyPolygon2DFactory.idl
13
--- offapi-orig/com/sun/star/rendering/XParametricPolyPolygon2DFactory.idl 2007-09-05 21:51:02.000000000 +0200
14
+++ offapi/com/sun/star/rendering/XParametricPolyPolygon2DFactory.idl 2007-09-06 17:04:28.000000000 +0200
15
@@ -60,11 +60,11 @@ interface XParametricPolyPolygon2DFactor
17
/** Create a linear gradient.
19
- The gradient varies linearly between leftColor and rightColor
20
+ The gradient varies linearly between colors. the color positions on <0, 1> interval are given by stops values
21
in the x direction, and has constant color for fixed x
22
coordinate value in y direction
24
- XParametricPolyPolygon2D createLinearHorizontalGradient( [in] sequence<ColorComponent> leftColor, [in] sequence<ColorComponent> rightColor )
25
+ XParametricPolyPolygon2D createLinearHorizontalGradient( [in] sequence<Color> colors, [in] sequence<double> stops )
26
raises (com::sun::star::lang::IllegalArgumentException);
28
/** Create an axial gradient.
29
@@ -74,7 +74,7 @@ interface XParametricPolyPolygon2DFactor
30
x direction. For fixed x coordinate, the gradient has constant
31
color value in y direction.
33
- XParametricPolyPolygon2D createAxialHorizontalGradient( [in] sequence<ColorComponent> middleColor, [in] sequence<ColorComponent> endColor )
34
+ XParametricPolyPolygon2D createAxialHorizontalGradient( [in] sequence<Color> colors, [in] sequence<double> stops )
35
raises (com::sun::star::lang::IllegalArgumentException);
37
/** Create an elliptical gradient.
38
@@ -89,7 +89,7 @@ interface XParametricPolyPolygon2DFactor
39
center color: the gradient will not collapse into a single
40
point, but become a line of center color.
42
- XParametricPolyPolygon2D createEllipticalGradient( [in] sequence<ColorComponent> centerColor, [in] sequence<ColorComponent> endColor, [in] ::com::sun::star::geometry::RealRectangle2D boundRect )
43
+ XParametricPolyPolygon2D createEllipticalGradient( [in] sequence<Color> colors, [in] sequence<double> stops, [in] ::com::sun::star::geometry::RealRectangle2D boundRect )
44
raises (com::sun::star::lang::IllegalArgumentException);
46
/** Create a rectangular gradient.
47
@@ -104,7 +104,7 @@ interface XParametricPolyPolygon2DFactor
48
the center color: the gradient will not collapse into a single
49
point, but become a line of center color.
51
- XParametricPolyPolygon2D createRectangularGradient( [in] sequence<ColorComponent> centerColor, [in] sequence<ColorComponent> endColor, [in] ::com::sun::star::geometry::RealRectangle2D boundRect )
52
+ XParametricPolyPolygon2D createRectangularGradient( [in] sequence<Color> colors, [in] sequence<double> stops, [in] ::com::sun::star::geometry::RealRectangle2D boundRect )
53
raises (com::sun::star::lang::IllegalArgumentException);
55
/** Create a line hash of vertical lines.