summaryrefslogtreecommitdiff
path: root/doc/reference/xml/cairo_line_cap_t.xml
blob: 9f1ee028a3bda8f58863f5ce0cf64c0648070aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<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>