Radial gradients whose inner circle is not contained in the outer
circle are in use even if the protocol explicitly forbids them.

Allowing them in the protocol makes it reasonable for programs to
assume that they can be used.

Signed-off-by: Andrea Canciani <ranm...@gmail.com>
---
 renderproto.txt |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/renderproto.txt b/renderproto.txt
index 4cf5dfc..3aad841 100644
--- a/renderproto.txt
+++ b/renderproto.txt
@@ -1099,10 +1099,10 @@ CreateLinearGradient
 
 CreateRadialGradient
        pid:            PICTURE
-       inner_center:   POINTFIX
-       outer_center:   POINTFIX
-       inner_radius:   FIXED
-       outer_radius:   FIXED
+       start_center:   POINTFIX
+       end_center:     POINTFIX
+       start_radius:   FIXED
+       end_radius:     FIXED
        nstops:         CARD32
        stops:          LISTofFIXED
        stop_colors:    LISTofCOLOR
@@ -1110,8 +1110,8 @@ CreateRadialGradient
        Errors:         Alloc, Value
 
        Creates a source picture representing a radial Gradient. The
-       gradients bounds are defined by a center point, a focal point and a
-       radius around the center.
+       gradient is defined by a start circle and an end circle, each
+       defined by a center point and a radius.
 
        The gradient has nstops stop points between 0 and 1, each
        having a stop color defined in stop_colors.
@@ -1119,9 +1119,7 @@ CreateRadialGradient
        If nstops is 0, a Value error is generated.
 
        The array of stops has to contain values between 0 and 1 (inclusive) and
-       has to be ordered in increasing size or a Value error is generated. The 
inner
-       circle has to be completely contained inside the outer one or a Value 
error is 
-       generated. 
+       has to be ordered in increasing size or a Value error is generated.
 
        The colors are non premultiplied.
 
-- 
1.7.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to