summaryrefslogtreecommitdiff
path: root/offapi/com
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-18 13:02:00 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-18 13:03:37 +0300
commita7c9ec67998831eef4233058ce8ca82c3f75eb36 (patch)
treedf82d9b0a50bd597fc76339292fffe56beffac77 /offapi/com
parenta6b925a436b2c6c9b33b66085ca421898b25d752 (diff)
Add obnoxious comments
Change-Id: I393e8a23bf69802e7879fe668708dca4f743bd4e
Diffstat (limited to 'offapi/com')
-rw-r--r--offapi/com/sun/star/awt/Gradient.idl16
1 files changed, 11 insertions, 5 deletions
diff --git a/offapi/com/sun/star/awt/Gradient.idl b/offapi/com/sun/star/awt/Gradient.idl
index d4b968656d1b..f0d479a29e85 100644
--- a/offapi/com/sun/star/awt/Gradient.idl
+++ b/offapi/com/sun/star/awt/Gradient.idl
@@ -28,7 +28,9 @@
module com { module sun { module star { module awt {
-/** describes a color dispersion within an area.
+/** Describes a gradient between two colors. Many aspects of the
+ * gradient are undefined, like the algorithm and color space to use
+ * to interpolate between the colors and what "intensity" means.
*/
published struct Gradient
{
@@ -58,17 +60,20 @@ published struct Gradient
short Border;
- /** specifies the X-coordinate, where the gradient begins.
+ /** Specifies the X-coordinate, where the gradient begins,
+ * whatever that means. Possibly means the *center* of the
+ * ELLIPTICAL, SQUARE and RECT style gradients?
*/
short XOffset;
- /** specifies the Y-coordinate, where the gradient begins.
+ /** Specifies the Y-coordinate, where the gradient begins. See
+ previous field.
*/
short YOffset;
- /** specifies the intensity at the start point of the gradient.
+ /** Specifies the intensity at the start point of the gradient. What that means is undefined.
*/
short StartIntensity;
@@ -78,7 +83,8 @@ published struct Gradient
short EndIntensity;
- /** specifies the number of steps of change color.
+ /** Specifies the number of steps of change color. What that means
+ * is undefined.
*/
short StepCount;