summaryrefslogtreecommitdiff
path: root/doc/reference/xml/cairo_rectangle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/xml/cairo_rectangle.xml')
-rw-r--r--doc/reference/xml/cairo_rectangle.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/reference/xml/cairo_rectangle.xml b/doc/reference/xml/cairo_rectangle.xml
new file mode 100644
index 000000000..bab307f32
--- /dev/null
+++ b/doc/reference/xml/cairo_rectangle.xml
@@ -0,0 +1,47 @@
+<refentry id="cairo_rectangle">
+ <refmeta>
+ <refentrytitle>cairo_rectangle</refentrytitle>
+ <manvolnum>3</manvolnum>
+ </refmeta>
+ <refnamediv>
+ <refname>cairo_rectangle</refname>
+ <refpurpose>some description</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <programlisting>
+ void cairo_rectangle (<link linkend="cairo_t">cairo_t</link> *cr, double x, double y, double width, double height);</programlisting>
+ <variablelist role="params">
+ <varlistentry>
+ <term><parameter>cr</parameter> :</term>
+ <listitem>
+ <simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>x, y</parameter> :</term>
+ <listitem>
+ <simpara>coordinates of the left top corner</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>width, height</parameter> :</term>
+ <listitem>
+ <simpara>width and height of the rectangle</simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>Description</title>
+ <para>
+ <indexterm>
+ <primary>functions</primary>
+ <secondary>cairo_rectangle</secondary>
+ </indexterm>
+ <indexterm>
+ <primary/>
+ </indexterm>
+ The current line style applies to the lines of the rectangle.
+ </para>
+ </refsect1>
+</refentry>