summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/gfx/join.txt
blob: 96befc11e657f9918150c15c155bcbd1036fab33 (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.Join~~
===== Description =====

%%These values determine how two joining lines are rendered in a stroker. %%''ref''%% efl_gfx_shape_stroke_join_set()%%

//Since 1.14//

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

===== Fields =====

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

  * **miter** - %%Used to render rounded line joins. Circular arcs are used to join two lines smoothly.%%
  * **round** - %%Used to render beveled line joins. The outer corner of the joined lines is filled by enclosing the triangular region of the corner with a straight line between the outer corners of each stroke.%%
  * **bevel** - %%Used to render mitered line joins. The intersection of the strokes is clipped at a line perpendicular to the bisector of the angle between the strokes, at the distance from the intersection of the segments equal to the product of the miter limit value and the border radius.  This prevents long spikes being created.%%
  * **last** - %%Sentinel value to indicate last enum field during iteration%%

===== Signature =====

<code>
enum Efl.Gfx.Join {
    miter: 0,
    round,
    bevel,
    last
}
</code>

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

<code c>
typedef enum {
    EFL_GFX_JOIN_MITER = 0,
    EFL_GFX_JOIN_ROUND,
    EFL_GFX_JOIN_BEVEL,
    EFL_GFX_JOIN_LAST
} Efl_Gfx_Join;
</code>