Description

These values determine how the points are interpreted in a stream of points.

Since 1.14

Fields

  • end - The end of stream , no more points to process.
  • move_to - The next point is the start point of a sub path.
  • line_to - The next point is used to draw a line from current point.
  • cubic_to - The next three point is used to draw a cubic bezier curve from current point.
  • close - Close the current subpath by drawing a line between current point and the first point of current subpath.
  • last - Sentinel value to indicate last enum field during iteration

Signature

enum Efl.Gfx.Path.Command_Type {
    end: 0,
    move_to,
    line_to,
    cubic_to,
    close,
    last
}

C signature

typedef enum {
    EFL_GFX_PATH_COMMAND_TYPE_END = 0,
    EFL_GFX_PATH_COMMAND_TYPE_MOVE_TO,
    EFL_GFX_PATH_COMMAND_TYPE_LINE_TO,
    EFL_GFX_PATH_COMMAND_TYPE_CUBIC_TO,
    EFL_GFX_PATH_COMMAND_TYPE_CLOSE,
    EFL_GFX_PATH_COMMAND_TYPE_LAST
} Efl_Gfx_Path_Command_Type;