[cairo-commit] pycairo/doc/reference patterns.rst,1.2,1.3

Steve Chaplin commit at pdx.freedesktop.org
Mon Mar 16 02:19:46 PDT 2009


Committed by: stevech1097

Update of /cvs/cairo/pycairo/doc/reference
In directory kemper:/tmp/cvs-serv3800/doc/reference

Modified Files:
	patterns.rst 
Log Message:
'SC'

Index: patterns.rst
===================================================================
RCS file: /cvs/cairo/pycairo/doc/reference/patterns.rst,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- patterns.rst	12 Feb 2009 09:04:28 -0000	1.2
+++ patterns.rst	16 Mar 2009 09:19:44 -0000	1.3
@@ -21,10 +21,31 @@
 
 .. class:: Pattern()
 
+   .. method:: get_extend()
+
+      :returns: the current extend strategy used for drawing the *Pattern*.
+      :rtype: int
+
+      Gets the current extend mode for the *Pattern*. See
+      :ref:`EXTEND attributes <mattributes_extend>`
+      for details on the semantics of each extend strategy.
+
    .. method:: get_matrix()
 
       :returns: a new :class:`Matrix` which stores a copy of the *Pattern's* transformation matrix
 
+   .. method:: set_extend(extend)
+
+      :param extend: an extend describing how the area outside of the *Pattern* will be drawn
+
+      Sets the mode to be used for drawing outside the area of a *Pattern*. See
+      :ref:`EXTEND attributes <mattributes_extend>`
+      for details on the semantics of each extend strategy.
+
+      The default extend mode is :attr:`cairo.EXTEND_NONE` for
+      :class:`SurfacePattern` and :attr:`cairo.EXTEND_PAD` for
+      :class:`Gradient` Patterns.
+
    .. method:: set_matrix(matrix)
 
       :param matrix: a cairo matrix (:class:`Matrix`)
@@ -96,15 +117,6 @@
 
    Create a new *SurfacePattern* for the given surface.
 
-   .. method:: get_extend()
-
-      :returns: the current extend strategy used for drawing the *Pattern*.
-      :rtype: int
-
-      Gets the current extend mode for the *Pattern*. See
-      :ref:`EXTEND attributes <mattributes_extend>`
-      for details on the semantics of each extend strategy.
-
    .. method:: get_filter()
 
       :returns: the current filter used for resizing the *Pattern*.
@@ -120,17 +132,6 @@
 
       .. versionadded:: 1.4
 
-   .. method:: set_extend(extend)
-
-      :param extend: an extend describing how the area outside of the *Pattern* will be drawn
-
-      Sets the mode to be used for drawing outside the area of a *Pattern*. See
-      :ref:`EXTEND attributes <mattributes_extend>`
-      for details on the semantics of each extend strategy.
-
-      The default extend mode is :attr:`cairo.EXTEND_NONE` for *SurfacePatterns*
-      and :attr:`cairo.EXTEND_PAD` for *Gradient* patterns.
-
    .. method:: set_filter(filter)
 
       :param filter: a filter describing the filter to use for resizing the *Pattern*



More information about the cairo-commit mailing list