EAPI Evas_Object * evas_object_line_add(Evas *e) { Evas_Object *obj; MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; MAGIC_CHECK_END(); obj = evas_object_new(e); evas_object_line_init(obj); evas_object_inject(obj, e); return obj; }
/** * Adds a gradient object to the given evas. * @param e The given evas. * @return A new evas gradient object if successful. Otherwise, @c NULL. * @ingroup Evas_Object_Gradient_Group */ EAPI Evas_Object * evas_object_gradient_add(Evas *e) { Evas_Object *obj; MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; MAGIC_CHECK_END(); obj = evas_object_new(e); evas_object_gradient_init(obj); evas_object_inject(obj, e); if (obj->object_data) { Evas_Object_Gradient *o = (Evas_Object_Gradient *)(obj->object_data); o->engine_data = e->engine.func->gradient_new(e->engine.data.output); } evas_object_change(obj); return obj; }