[gjs: 35/45] [cairo] Update doc



commit be1dd83bdb5dc6137679f6365a07f0ea5d3b3f8c
Author: Johan Dahlin <johan gnome org>
Date:   Tue Mar 2 11:51:28 2010 -0300

    [cairo] Update doc

 doc/cairo.txt |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/doc/cairo.txt b/doc/cairo.txt
index 1aacc05..82d2c6d 100644
--- a/doc/cairo.txt
+++ b/doc/cairo.txt
@@ -64,6 +64,8 @@ Prototype hierarchy
   * Gradient
     * LinearGradient
     * RadialGradient
+  * SurfacePattern
+  * SolidPattern
 
 You can create a linear gradient by calling the constructor:
 
@@ -75,14 +77,14 @@ gjs> let pattern = new Cairo.RadialGradient(0, 0, 10, 100, 100, 10);
 
 gjs> let pattern = new Cairo.SurfacePattern(surface);
 
-gjs> pattern.set_filter(Cairo.Filter.NEAREST);
+gjs> let pattern = new Cairo.SolidPattern.createRGB(0, 0, 0);
+
+gjs> let pattern = new Cairo.SolidPattern.createRGBA(0, 0, 0, 0);
 
 TODO:
-* reference counting
 * context: wrap the remaning methods
 * surface methods
 * image surface methods
-* solid pattern
 * matrix
 * version
 * cairo_path_t and iteration



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]