[cairo-commit] cairo/doc/reference/xml cairo_fill_rule_t.xml,NONE,1.1 cairo_format_t.xml,NONE,1.1 cairo_line_cap_t.xml,NONE,1.1 cairo_matrix_t.xml,NONE,1.1 cairo_operator_t.xml,NONE,1.1 cairo_surface_t.xml,NONE,1.1 cairo_t.xml,NONE,1.1 cairo_current_fill_rule.xml,1.2,1.3 cairo_current_line_cap.xml,1.2,1.3 cairo_current_operator.xml,1.2,1.3 cairo_set_alpha.xml,1.2,1.3 cairo_set_fill_rule.xml,1.2,1.3 cairo_set_line_cap.xml,1.2,1.3 cairo_set_line_width.xml,1.2,1.3 cairo_set_operator.xml,1.2,1.3 cairo_set_pattern.xml,1.2,1.3 cairo_set_rgb_color.xml,1.2,1.3 cairo_set_tolerance.xml,1.2,1.3

Thomas Hunger commit at pdx.freedesktop.org
Sun Oct 19 08:46:23 PDT 2003


Committed by: tom

Update of /cvs/cairo/cairo/doc/reference/xml
In directory pdx:/tmp/cvs-serv28474

Modified Files:
	cairo_current_fill_rule.xml cairo_current_line_cap.xml 
	cairo_current_operator.xml cairo_set_alpha.xml 
	cairo_set_fill_rule.xml cairo_set_line_cap.xml 
	cairo_set_line_width.xml cairo_set_operator.xml 
	cairo_set_pattern.xml cairo_set_rgb_color.xml 
	cairo_set_tolerance.xml 
Added Files:
	cairo_fill_rule_t.xml cairo_format_t.xml cairo_line_cap_t.xml 
	cairo_matrix_t.xml cairo_operator_t.xml cairo_surface_t.xml 
	cairo_t.xml 
Log Message:
added some types and enums, documented more functions


--- NEW FILE: cairo_fill_rule_t.xml ---
<refentry id="cairo_fill_rule_t">
  <refmeta>
    <refentrytitle>cairo_fill_rule_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  
  <refnamediv>
    <refname>cairo_fill_rule_t</refname>
    <refpurpose>enumeration for fill rules</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
          <indexterm><primary>enums</primary>
    <secondary>cairo_fill_rule_t</secondary></indexterm>
<programlisting>typedef enum cairo_fill_rule {
    CAIRO_FILL_RULE_WINDING,
    CAIRO_FILL_RULE_EVEN_ODD
} cairo_fill_rule_t;
</programlisting>
<para>
Select ways to fill paths.
</para>
<variablelist role="enum">
<varlistentry>
<term><literal>CAIRO_FILL_RULE_WINDING</literal></term>
<listitem><simpara>counts all intersections with a clockwise line positive and intersections with a counter-clockwise line negative. All areas with a non-zero counts are filled.
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>CAIRO_FILL_RULE_EVEN_ODD</literal></term>
<listitem><simpara>Only the area from one intersection to the next will be filled, no matter what orientation the intersected line has.
</simpara></listitem>
</varlistentry>
</variablelist>      
 </refsect1>
</refentry>




--- NEW FILE: cairo_format_t.xml ---
<refentry id="cairo_format_t">
  <refmeta>
    <refentrytitle>cairo_format_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  
  <refnamediv>
    <refname>cairo_format_t</refname>
    <refpurpose>enumeration for image formats</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
          <indexterm><primary>enums</primary>
    <secondary>cairo_format_t</secondary></indexterm>
<programlisting>typedef enum cairo_format {
    CAIRO_FORMAT_ARGB32 = PictStandardARGB32,
    CAIRO_FORMAT_RGB24 = PictStandardRGB24,
    CAIRO_FORMAT_A8 = PictStandardA8,
    CAIRO_FORMAT_A1 = PictStandardA1
} cairo_format_t;
</programlisting>
<para>
Possible formats for in-memory images.
</para>
<variablelist role="enum">
<varlistentry>
<term><literal>CAIRO_FORMAT_ARGB32</literal></term>
<listitem><simpara>one byte for red, green, blue and alpha. (rowstride = width * 4)
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>CAIRO_FORMAT_RGB24</literal></term>
<listitem><simpara>one byte for red, green and blue (rowstride = width * 4)
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>CAIRO_FORMAT_A8</literal></term>
<listitem><simpara>indexed color image 
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>CAIRO_FORMAT_A1</literal></term>
<listitem><simpara>a bitmap
</simpara></listitem>
</varlistentry>
</variablelist>      
 </refsect1>
</refentry>




--- NEW FILE: cairo_line_cap_t.xml ---
<refentry id="cairo_line_cap_t">
  <refmeta>
    <refentrytitle>cairo_line_cap_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  
  <refnamediv>
    <refname>cairo_line_cap_t</refname>
    <refpurpose>enumeration for style of line-endings</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
          <indexterm><primary>enums</primary>
    <secondary>cairo_line_cap_t</secondary></indexterm>
<programlisting>typedef enum cairo_line_cap {
    CAIRO_LINE_CAP_BUTT,
    CAIRO_LINE_CAP_ROUND,
    CAIRO_LINE_CAP_SQUARE
} cairo_line_cap_t;
</programlisting>
<variablelist role="enum">
<varlistentry>
<term><literal>CAIRO_LINE_CAP_BUTT</literal></term>
<listitem><simpara>start(stop) the line exactly at the start(end) point
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>CAIRO_LINE_CAP_ROUND</literal></term>
<listitem><simpara>use a round ending, the center of the circle is the end point.
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>CAIRO_LINE_CAP_SQUARE</literal></term>
<listitem><simpara>use squared ending, the center of the square is the end point.
</simpara></listitem>
</varlistentry>
</variablelist>      
 </refsect1>
</refentry>




--- NEW FILE: cairo_matrix_t.xml ---

<refentry id="cairo_matrix_t">
  <refmeta>
    <refentrytitle>cairo_matrix</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  <refnamediv>
    <refname>cairo_matrix</refname>
    <refpurpose>a matrix</refpurpose>
  </refnamediv>
  <refsect1>
    <title>Description</title>
    <para><indexterm><primary>types</primary><secondary>cairo_matrix</secondary></indexterm><indexterm><primary/></indexterm>
      A <varname>cairo_matrix</varname> contains the current state of the rendering device, 
      including coordinates of yet to be drawn shapes.  
      <varname>cairo_matrix</varname>'s can be pushed to a stack via 
      <link linkend="cairo_save">cairo_save</link>. 
      They may then savely be changed, without loosing the current state. 
      Use <link linkend="cairo_restore">cairo_restore</link> to 
      restore to the saved state.
    </para>
  </refsect1>
</refentry>

--- NEW FILE: cairo_operator_t.xml ---
<refentry id="cairo_operator_t">
  <refmeta>
    <refentrytitle>cairo_operator_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  
  <refnamediv>
    <refname>cairo_operator_t</refname>
    <refpurpose>enumeration for image operators</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
          <indexterm><primary>enums</primary>
    <secondary>cairo_operator_t</secondary></indexterm>
<programlisting>typedef enum cairo_operator {
    CAIRO_OPERATOR_CLEAR = PictOpClear,
    CAIRO_OPERATOR_SRC = PictOpSrc,
    CAIRO_OPERATOR_DST = PictOpDst,
    CAIRO_OPERATOR_OVER = PictOpOver,
    CAIRO_OPERATOR_OVER_REVERSE = PictOpOverReverse,
    CAIRO_OPERATOR_IN = PictOpIn,
    CAIRO_OPERATOR_IN_REVERSE = PictOpInReverse,
    CAIRO_OPERATOR_OUT = PictOpOut,
    CAIRO_OPERATOR_OUT_REVERSE = PictOpOutReverse,
    CAIRO_OPERATOR_ATOP = PictOpAtop,
    CAIRO_OPERATOR_ATOP_REVERSE = PictOpAtopReverse,
    CAIRO_OPERATOR_XOR = PictOpXor,
    CAIRO_OPERATOR_ADD = PictOpAdd,
    CAIRO_OPERATOR_SATURATE = PictOpSaturate,

    CAIRO_OPERATOR_DISJOINT_CLEAR = PictOpDisjointClear,
    CAIRO_OPERATOR_DISJOINT_SRC = PictOpDisjointSrc,
    CAIRO_OPERATOR_DISJOINT_DST = PictOpDisjointDst,
    CAIRO_OPERATOR_DISJOINT_OVER = PictOpDisjointOver,
    CAIRO_OPERATOR_DISJOINT_OVER_REVERSE = PictOpDisjointOverReverse,
    CAIRO_OPERATOR_DISJOINT_IN = PictOpDisjointIn,
    CAIRO_OPERATOR_DISJOINT_IN_REVERSE = PictOpDisjointInReverse,
    CAIRO_OPERATOR_DISJOINT_OUT = PictOpDisjointOut,
    CAIRO_OPERATOR_DISJOINT_OUT_REVERSE = PictOpDisjointOutReverse,
    CAIRO_OPERATOR_DISJOINT_ATOP = PictOpDisjointAtop,
    CAIRO_OPERATOR_DISJOINT_ATOP_REVERSE = PictOpDisjointAtopReverse,
    CAIRO_OPERATOR_DISJOINT_XOR = PictOpDisjointXor,

    CAIRO_OPERATOR_CONJOINT_CLEAR = PictOpConjointClear,
    CAIRO_OPERATOR_CONJOINT_SRC = PictOpConjointSrc,
    CAIRO_OPERATOR_CONJOINT_DST = PictOpConjointDst,
    CAIRO_OPERATOR_CONJOINT_OVER = PictOpConjointOver,
    CAIRO_OPERATOR_CONJOINT_OVER_REVERSE = PictOpConjointOverReverse,
    CAIRO_OPERATOR_CONJOINT_IN = PictOpConjointIn,
    CAIRO_OPERATOR_CONJOINT_IN_REVERSE = PictOpConjointInReverse,
    CAIRO_OPERATOR_CONJOINT_OUT = PictOpConjointOut,
    CAIRO_OPERATOR_CONJOINT_OUT_REVERSE = PictOpConjointOutReverse,
    CAIRO_OPERATOR_CONJOINT_ATOP = PictOpConjointAtop,
    CAIRO_OPERATOR_CONJOINT_ATOP_REVERSE = PictOpConjointAtopReverse,
    CAIRO_OPERATOR_CONJOINT_XOR = PictOpConjointXor
} cairo_operator_t;
</programlisting>
<para>
Operators for surface-compositing. XXX
</para>
<variablelist role="enum">
<varlistentry>
<term><literal></literal></term>
<listitem><simpara>
</simpara></listitem>
</varlistentry>
</variablelist>      
 </refsect1>
</refentry>




--- NEW FILE: cairo_surface_t.xml ---

<refentry id="cairo_surface_t">
  <refmeta>
    <refentrytitle>cairo_surface_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  <refnamediv>
    <refname>cairo_surface_t</refname>
    <refpurpose>surface to draw on</refpurpose>
  </refnamediv>
  <refsect1>
    <title>Description</title>
    <para><indexterm><primary>types</primary><secondary>cairo_surface_t</secondary></indexterm><indexterm><primary/></indexterm>
      A <varname>cairo_surface_t</varname> is a high level wrapper for varoius surface. So far the surface can be a bitmap or a memory image. It also contains information about the width and height, repeating information (in case it is used as a pattern: <link linkend="cairo_surface_set_repeat">cairo_surface_set_repeat</link>), the quality for rescaling (<link linkend="cairo_surface_set_filter">cairo_surface_set_filter</link>), and transformations. Surfaces support reference counting via <link linkend="cairo_surface_reference">cairo_surface_reference</link> and <link linkend="cairo_surface_destroy">cairo_surface_destroy</link>.
    </para>
  </refsect1>
</refentry>

--- NEW FILE: cairo_t.xml ---

<refentry id="cairo_t">
  <refmeta>
    <refentrytitle>cairo_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  <refnamediv>
    <refname>cairo_t</refname>
    <refpurpose>holds the current state</refpurpose>
  </refnamediv>
  <refsect1>
    <title>Description</title>
    <para><indexterm><primary>types</primary><secondary>cairo_t</secondary></indexterm><indexterm><primary/></indexterm>
      A <varname>cairo_t</varname> contains the current state of the rendering device, 
      including coordinates of yet to be drawn shapes.  
      <varname>cairo_t</varname>'s can be pushed to a stack via 
      <link linkend="cairo_save">cairo_save</link>. 
      They may then savely be changed, without loosing the current state. 
      Use <link linkend="cairo_restore">cairo_restore</link> to 
      restore to the saved state.
    </para>
  </refsect1>
</refentry>

Index: cairo_current_fill_rule.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_current_fill_rule.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_current_fill_rule.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_current_fill_rule.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 11,15 ****
    <refsynopsisdiv>
      <programlisting>
! cairo_fill_rule_t cairo_current_fill_rule (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
      <variablelist role="params">
        <varlistentry>
--- 11,15 ----
    <refsynopsisdiv>
      <programlisting>
! <link linkend="cairo_fill_rule_t">cairo_fill_rule_t</link> cairo_current_fill_rule (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
      <variablelist role="params">
        <varlistentry>

Index: cairo_current_line_cap.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_current_line_cap.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_current_line_cap.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_current_line_cap.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 11,15 ****
    <refsynopsisdiv>
      <programlisting>
! cairo_line_cap_t cairo_current_line_cap (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
      <variablelist role="params">
        <varlistentry>
--- 11,15 ----
    <refsynopsisdiv>
      <programlisting>
! <link linkend="cairo_line_cap_t">cairo_line_cap_t</link> cairo_current_line_cap (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
      <variablelist role="params">
        <varlistentry>

Index: cairo_current_operator.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_current_operator.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_current_operator.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_current_operator.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 11,15 ****
    <refsynopsisdiv>
      <programlisting>
! cairo_operator_t cairo_current_operator (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
      <variablelist role="params">
        <varlistentry>
--- 11,15 ----
    <refsynopsisdiv>
      <programlisting>
! <link linkend="cairo_operator_t">cairo_operator_t</link> cairo_current_operator (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
      <variablelist role="params">
        <varlistentry>

Index: cairo_set_alpha.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_alpha.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_alpha.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_alpha.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 7,11 ****
    <refnamediv>
      <refname>cairo_set_alpha</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
--- 7,11 ----
    <refnamediv>
      <refname>cairo_set_alpha</refname>
!     <refpurpose>set opaqueness for painting</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
***************
*** 16,20 ****
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 16,20 ----
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a cairo_r</simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>alpha</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 22,26 ----
          <term><parameter>alpha</parameter> :</term>
          <listitem>
!           <simpara>an alpha value between 0.0 and 1.0</simpara>
          </listitem>
        </varlistentry>
***************
*** 37,40 ****
--- 37,41 ----
          <primary/>
        </indexterm>
+       If alpha is not between 0.0 and 1.0 it will be restricted to fit.
      </para>
    </refsect1>

Index: cairo_set_fill_rule.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_fill_rule.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_fill_rule.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_fill_rule.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 11,15 ****
    <refsynopsisdiv>
      <programlisting>
! void cairo_set_fill_rule (<link linkend="cairo_t">cairo_t</link> *cr, cairo_fill_rule_t fill_rule)</programlisting>
      <variablelist role="params">
        <varlistentry>
--- 11,15 ----
    <refsynopsisdiv>
      <programlisting>
! void cairo_set_fill_rule (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_fill_rule_t">cairo_fill_rule_t</link> fill_rule)</programlisting>
      <variablelist role="params">
        <varlistentry>

Index: cairo_set_line_cap.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_line_cap.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_line_cap.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_line_cap.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 1,3 ****
- 
  <refentry id="cairo_set_line_cap">
    <refmeta>
--- 1,2 ----
***************
*** 7,20 ****
    <refnamediv>
      <refname>cairo_set_line_cap</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
      <programlisting>
! void cairo_set_line_cap (<link linkend="cairo_t">cairo_t</link> *cr, cairo_line_cap_t line_cap)</programlisting>
      <variablelist role="params">
        <varlistentry>
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 6,19 ----
    <refnamediv>
      <refname>cairo_set_line_cap</refname>
!     <refpurpose>determine shape of line endings</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
      <programlisting>
! void cairo_set_line_cap (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_line_cap_t">cairo_line_cap_t</link> line_cap)</programlisting>
      <variablelist role="params">
        <varlistentry>
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>line_cap</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 21,25 ----
          <term><parameter>line_cap</parameter> :</term>
          <listitem>
!           <simpara>see <link linkend="cairo_line_cap_t">cairo_line_cap_t</link> for styles</simpara>
          </listitem>
        </varlistentry>
***************
*** 37,40 ****
--- 36,40 ----
          <primary/>
        </indexterm>
+       When the line width is larger than one device unit, it matters which way the ending of a line is drawn. Use this function to set the line-ending-style.
      </para>
    </refsect1>

Index: cairo_set_line_width.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_line_width.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_line_width.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_line_width.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 7,11 ****
    <refnamediv>
      <refname>cairo_set_line_width</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
--- 7,11 ----
    <refnamediv>
      <refname>cairo_set_line_width</refname>
!     <refpurpose>set line width in device units</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
***************
*** 16,20 ****
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 16,20 ----
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>width</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 22,26 ----
          <term><parameter>width</parameter> :</term>
          <listitem>
!           <simpara>width in device units</simpara>
          </listitem>
        </varlistentry>

Index: cairo_set_operator.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_operator.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_operator.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_operator.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 7,20 ****
    <refnamediv>
      <refname>cairo_set_operator</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
      <programlisting>
! void cairo_set_operator (<link linkend="cairo_t">cairo_t</link> *cr, cairo_operator_t op)</programlisting>
      <variablelist role="params">
        <varlistentry>
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 7,20 ----
    <refnamediv>
      <refname>cairo_set_operator</refname>
!     <refpurpose>select operator for surface compositing</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
      <programlisting>
! void cairo_set_operator (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_operator_t">cairo_operator_t</link> op)</programlisting>
      <variablelist role="params">
        <varlistentry>
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>op</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 22,26 ----
          <term><parameter>op</parameter> :</term>
          <listitem>
!           <simpara>the operator for subsequent compositing operations</simpara>
          </listitem>
        </varlistentry>
***************
*** 37,40 ****
--- 37,41 ----
          <primary/>
        </indexterm>
+        
      </para>
    </refsect1>

Index: cairo_set_pattern.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_pattern.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_pattern.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_pattern.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 1,3 ****
- 
  <refentry id="cairo_set_pattern">
    <refmeta>
--- 1,2 ----
***************
*** 7,11 ****
    <refnamediv>
      <refname>cairo_set_pattern</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
--- 6,10 ----
    <refnamediv>
      <refname>cairo_set_pattern</refname>
!     <refpurpose>select a surface as fill pattern</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
***************
*** 16,20 ****
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 15,19 ----
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>pattern</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 21,25 ----
          <term><parameter>pattern</parameter> :</term>
          <listitem>
!           <simpara>a surface</simpara>
          </listitem>
        </varlistentry>
***************
*** 37,40 ****
--- 36,40 ----
          <primary/>
        </indexterm>
+       This function selects <varname>pattern</varname> as pattern for fill operations. If the repeat flag is set via <link linkend="cairo_surface_set_repeat">cairo_surface_set_repeat</link>, the pattern will be tiled, otherwise just drawn once.
      </para>
    </refsect1>

Index: cairo_set_rgb_color.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_rgb_color.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_rgb_color.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_rgb_color.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 7,11 ****
    <refnamediv>
      <refname>cairo_set_rgb_color</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
--- 7,11 ----
    <refnamediv>
      <refname>cairo_set_rgb_color</refname>
!     <refpurpose>select color for painting operations</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
***************
*** 16,20 ****
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 16,20 ----
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>red</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 22,26 ----
          <term><parameter>red</parameter> :</term>
          <listitem>
!           <simpara>red component</simpara>
          </listitem>
        </varlistentry>
***************
*** 28,32 ****
          <term><parameter>green</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 28,32 ----
          <term><parameter>green</parameter> :</term>
          <listitem>
!           <simpara>green component</simpara>
          </listitem>
        </varlistentry>
***************
*** 34,38 ****
          <term><parameter>blue</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 34,38 ----
          <term><parameter>blue</parameter> :</term>
          <listitem>
!           <simpara>blue component</simpara>
          </listitem>
        </varlistentry>
***************
*** 49,52 ****
--- 49,53 ----
          <primary/>
        </indexterm>
+       Set the color for subsequent drawing operations. Values which are not between 0.0 and 1.0 will be changed (e.g. red=2.0 => red=1.0).
      </para>
    </refsect1>

Index: cairo_set_tolerance.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/reference/xml/cairo_set_tolerance.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_set_tolerance.xml	16 Oct 2003 12:31:56 -0000	1.2
--- cairo_set_tolerance.xml	19 Oct 2003 15:46:21 -0000	1.3
***************
*** 1,3 ****
- 
  <refentry id="cairo_set_tolerance">
    <refmeta>
--- 1,2 ----
***************
*** 7,11 ****
    <refnamediv>
      <refname>cairo_set_tolerance</refname>
!     <refpurpose>some description</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
--- 6,10 ----
    <refnamediv>
      <refname>cairo_set_tolerance</refname>
!     <refpurpose>set accuracy of painting operations</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
***************
*** 16,20 ****
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 15,19 ----
          <term><parameter>cr</parameter> :</term>
          <listitem>
!           <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
          </listitem>
        </varlistentry>
***************
*** 22,26 ****
          <term><parameter>tolerance</parameter> :</term>
          <listitem>
!           <simpara>description</simpara>
          </listitem>
        </varlistentry>
--- 21,25 ----
          <term><parameter>tolerance</parameter> :</term>
          <listitem>
!           <simpara>the accuracy in device pixels</simpara>
          </listitem>
        </varlistentry>
***************
*** 37,40 ****
--- 36,40 ----
          <primary/>
        </indexterm>
+       This function adjusts the error tolerance for tesselating curved objects. The default value is 0.1 (device pixels). This function can be used to trade speed against accuracy.
      </para>
    </refsect1>





More information about the cairo-commit mailing list