mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-01 00:10:13 +01:00
43 lines
1.2 KiB
XML
43 lines
1.2 KiB
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>
|
|
|
|
|
|
|