Description

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

Since 1.14

Fields

  • 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

enum Efl.Gfx.Join {
    miter: 0,
    round,
    bevel,
    last
}

C signature

typedef enum {
    EFL_GFX_JOIN_MITER = 0,
    EFL_GFX_JOIN_ROUND,
    EFL_GFX_JOIN_BEVEL,
    EFL_GFX_JOIN_LAST
} Efl_Gfx_Join;