cairo/doc/reference/xml/cairo_rectangle.xml
2004-02-20 14:23:17 +00:00

47 lines
1.4 KiB
XML

<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>