mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 20:00:11 +01:00
47 lines
1.4 KiB
XML
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>
|