summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/gfx/cap.txt
blob: 95d3c4194103f15d7156590fef74a86c54ca4f36 (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
~~Title: Efl.Gfx.Cap~~
===== Description =====

%%These values determine how the end of opened sub-paths are rendered in a stroke. %%''ref''%% efl_gfx_shape_stroke_cap_set()%%

//Since 1.14//

{{page>:develop:api-include:efl:gfx:cap:description&nouser&nolink&nodate}}

===== Fields =====

{{page>:develop:api-include:efl:gfx:cap:fields&nouser&nolink&nodate}}

  * **butt** - %%The end of lines is rendered as a full stop on the last point itself.%%
  * **round** - %%The end of lines is rendered as a half-circle around the last point.%%
  * **square** - %%The end of lines is rendered as a square around the last point.%%
  * **last** - %%Sentinel value to indicate last enum field during iteration%%

===== Signature =====

<code>
enum Efl.Gfx.Cap {
    butt: 0,
    round,
    square,
    last
}
</code>

===== C signature =====

<code c>
typedef enum {
    EFL_GFX_CAP_BUTT = 0,
    EFL_GFX_CAP_ROUND,
    EFL_GFX_CAP_SQUARE,
    EFL_GFX_CAP_LAST
} Efl_Gfx_Cap;
</code>