Evas_Object_Line_Group(3)

NAME
Evas_Object_Line_Group - Line Object Functions

 - Functions used to deal with evas line objects.

SYNOPSIS

  Functions
EVAS_API void evas_object_line_xy_set (Evas_Line *obj, int x1, int y1, int x2, int y2)
Sets the coordinates of the end points of the given evas line object.
EVAS_API void evas_object_line_xy_get (const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2)
Retrieves the coordinates of the end points of the given evas line object.
EVAS_API Evas_Object * evas_object_line_add (Evas *e)
Adds a new evas line object to the given evas.

Detailed Description

Functions used to deal with evas line objects.

Warning
    We don't guarantee any proper results if you create a Line object without setting the evas engine.

Function Documentation

  EVAS_API void evas_object_line_xy_set (Evas_Line * obj, int x1, int y1, int x2, int y2)

Sets the coordinates of the end points of the given evas line object.

Parameters
    obj The object.
    x1 The X coordinate of the first point.
    y1 The Y coordinate of the first point.
    x2 The X coordinate of the second point.
    y2 The Y coordinate of the second point.

Since
    1.8

  EVAS_API void evas_object_line_xy_get (const Evas_Line * obj, int * x1, int * y1, int * x2, int * y2)

Retrieves the coordinates of the end points of the given evas line object.

Parameters
    obj The object.
    x1 The X coordinate of the first point.
    y1 The Y coordinate of the first point.
    x2 The X coordinate of the second point.
    y2 The Y coordinate of the second point.

  EVAS_API Evas_Object* evas_object_line_add (Evas * e)

Adds a new evas line object to the given evas.

Parameters
    e The given evas.

Returns
    The new evas line object.

References EINA_SAFETY_ON_FALSE_RETURN_VAL, and EVAS_CANVAS_CLASS.

Author

Generated automatically by Doxygen for EFL from the source code.