Description

Type defining how an image content get filled.

Since 1.14

Fields

  • winding - Draw a horizontal line from the point to a location outside the shape. Determine whether the direction of the line at each intersection point is up or down. The winding number is determined by summing the direction of each intersection. If the number is non zero, the point is inside the shape. This mode is the default
  • odd_even - Draw a horizontal line from the point to a location outside the shape, and count the number of intersections. If the number of intersections is an odd number, the point is inside the shape.

Signature

enum Efl.Gfx.Fill_Rule {
    winding: 0,
    odd_even: 1
}

C signature

typedef enum {
    EFL_GFX_FILL_RULE_WINDING = 0,
    EFL_GFX_FILL_RULE_ODD_EVEN = 1
} Efl_Gfx_Fill_Rule;