* @see evas_obj_vg_root_node_get()
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI Evas_Object *evas_object_vg_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
* @return The created vector shape object handle.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Shape* evas_vg_shape_add(Evas_Vg_Container *parent);
* @return The created vector container object handle.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Container* evas_vg_container_add(Evas_Object *parent);
* @param[in] obj The object.
* @return @c EINA_TRUE if the object is visible, @EINA_FALSE otherwise.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI Eina_Bool evas_vg_node_visible_get(Evas_Vg_Node *obj);
*
* @param[in] obj The object.
* @param[in] v @c EINA_TRUE if to make the object visible, @c EINA_FALSE otherwise.
+ *
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_visible_set(Evas_Vg_Node *obj, Eina_Bool v);
* @param[out] b The blue component of the given color.
* @param[out] a The alpha component of the given color.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_color_get(Evas_Vg_Node *obj, int *r, int *g, int *b, int *a);
* @param[in] b The blue component of the given color.
* @param[in] a The alpha component of the given color.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_color_set(Evas_Vg_Node *obj, int r, int g, int b, int a);
* @param[out] w The w geometry of the given object.
* @param[out] h The h geometry of the given object.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, int *h);
* @param[in] w The w geometry of the given object.
* @param[in] h The h geometry of the given object.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h);
* @param[in] obj The object.
* @param[in] below The object below which to stackļ¼
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_stack_below(Evas_Vg_Node *obj, Evas_Vg_Node *below);
* @param[in] obj The object.
* @param[in] above The object above which to stack.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_stack_above(Evas_Vg_Node *obj, Evas_Vg_Node *above);
* @see evas_object_stack_above()
* @see evas_object_stack_below()
* @see evas_object_lower()
- *
+ *
* @param[in] obj The object.
+ *
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_raise(Evas_Vg_Node *obj);
*
* @param[in] obj The object.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_node_lower(Evas_Vg_Node *obj);
* @return The stroke scale of the given object.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI double evas_vg_shape_stroke_scale_get(Evas_Vg_Shape *obj);
* @param[in] s The stroke scale value.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_scale_set(Evas_Vg_Shape *obj, double s);
* @param[out] b The blue component of the given color.
* @param[out] a The alpha component of the given color.
*
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_color_get(Evas_Vg_Shape *obj, int *r, int *g, int *b, int *a);
* @param[in] b The blue component of the given color.
* @param[in] a The alpha component of the given color.
*
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_color_set(Evas_Vg_Shape *obj, int r, int g, int b, int a);
* @return The stroke width of the given object.
*
* @since 1.14
- *
+ * @since_tizen 6.0
*/
EAPI double evas_vg_shape_stroke_width_get(Evas_Vg_Shape *obj);
* @param[in] w The stroke width to be used.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_width_set(Evas_Vg_Shape *obj, double w);
*
* @param[in] obj The object.
* @return The stroke location.
+ *
+ * @since 1.24
*/
EAPI double evas_vg_shape_stroke_location_get(Evas_Vg_Shape *obj);
*
* @param[in] obj The object.
* @param[in] centered The stroke location.
+ *
+ * @since 1.24
*/
EAPI void evas_vg_shape_stroke_location_set(Evas_Vg_Shape *obj, double centered);
* @param[in] obj The object.
* @param[out] dash The dash types.
* @param[out] length The length of dash types.
+ *
+ * @since 1.24
*/
EAPI void evas_vg_shape_stroke_dash_get(Evas_Vg_Shape *obj, const Evas_Vg_Dash **dash, unsigned int *length);
* @param[in] obj The object.
* @param[in] dash The dash types.
* @param[in] length The length of dash types.
+ *
+ * @since 1.24
*/
EAPI void evas_vg_shape_stroke_dash_set(Evas_Vg_Shape *obj, const Evas_Vg_Dash *dash, unsigned int length);
* @return The cap style of the given object.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Cap evas_vg_shape_stroke_cap_get(Evas_Vg_Shape *obj);
* @param[in] obj The object.
* @param[in] c The cap style to use , default is EVAS_VG_CAP_BUTT
*
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_cap_set(Evas_Vg_Shape *obj, Evas_Vg_Cap c);
* @return The join style of the given object.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Join evas_vg_shape_stroke_join_get(Evas_Vg_Shape *obj);
* @param[in] obj The object.
* @param[in] j The join style to use, default is EVAS_VG_JOIN_MITER.
*
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_join_set(Evas_Vg_Shape *obj, Evas_Vg_Join j);
* @param[in] op The command list.
* @param[in] points The point list.
*
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_path_set(Evas_Vg_Shape *obj, const Evas_Vg_Path_Command *op, const double *points);
* @param[out] points The point list.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_path_get(Evas_Vg_Shape *obj, const Evas_Vg_Path_Command **op, const double **points);
* @param[in] obj The object.
* @param[out] commands The command length.
* @param[out] points The points length.
+ *
+ * @since 1.14
*/
EAPI void evas_vg_shape_path_length_get(Evas_Vg_Shape *obj, unsigned int *commands, unsigned int *points);
* @param[in] obj The object.
* @param[out] x The x co-ordinate of current point.
* @param[out] y The y co-ordinate of current point.
+ *
+ * @since 1.14
*/
EAPI void evas_vg_shape_current_get(Evas_Vg_Shape *obj, double *x, double *y);
* @param[in] obj The object.
* @param[out] x The x co-ordinate of control point.
* @param[out] y The y co-ordinate of control point.
+ *
+ * @since 1.14
*/
EAPI void evas_vg_shape_current_ctrl_get(Evas_Vg_Shape *obj, double *x, double *y);
*
* @param[in] obj The object.
* @param[in] dup_from The Shape object from where data will be copied.
+ *
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_dup(Evas_Vg_Shape *obj, Evas_Vg_Shape *dup_from);
* @param[in] obj The object.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_reset(Evas_Vg_Shape *obj);
* @param[in] obj The object.
* @param[in] x The x co-ordinate of the current point.
* @param[in] y The y co-ordinate of the current point.
+ *
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_move_to(Evas_Vg_Shape *obj, double x, double y);
* @param[in] obj The object.
* @param[in] x The x co-ordinate of end point of the line.
* @param[in] y The y co-ordinate of end point of the line.
+ *
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_line_to(Evas_Vg_Shape *obj, double x, double y);
* @param[in] ctrl_y The y co-ordinate of control point.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_quadratic_to(Evas_Vg_Shape *obj, double x, double y, double ctrl_x, double ctrl_y);
* @param[in] obj The object.
* @param[in] x The x co-ordinate of end point of the line.
* @param[in] y The y co-ordinate of end point of the line.
+ *
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_squadratic_to(Evas_Vg_Shape *obj, double x, double y);
* @param[in] ctrl_y1 The y co-ordinate of 2nd control point.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_cubic_to(Evas_Vg_Shape *obj, double x, double y, double ctrl_x0, double ctrl_y0, double ctrl_x1, double ctrl_y1);
* @param[in] ctrl_y The y co-ordinate of 2nd control point.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_scubic_to(Evas_Vg_Shape *obj, double x, double y, double ctrl_x, double ctrl_y);
* @param[in] angle The x-axis rotation , normally 0.
* @param[in] large_arc Defines whether to draw the larger arc or smaller arc joining two point.
* @param[in] sweep Defines whether the arc will be drawn counter-clockwise or clockwise from current point to the end point taking into account the large_arc property.
+ *
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_arc_to(Evas_Vg_Shape *obj, double x, double y, double rx, double ry, double angle, Eina_Bool large_arc, Eina_Bool sweep);
* @param[in] sweep_length The length of the arc.
*
* @since 1.18
+ * @since_tizen 6.0
*
* @ingroup Evas_Vg_Shape
*/
* @param[in] obj The object.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_close(Evas_Vg_Shape *obj);
* @param[in] radius The radius of the circle.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_circle(Evas_Vg_Shape *obj, double x, double y, double radius);
* @param[in] ry The y radius of the rounded corner and should be in range [0 to h/2].
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_append_rect(Evas_Vg_Shape *obj, double x, double y, double w, double h, double rx, double ry);
*
* @param[in] obj The object.
* @param[in] svg_path_data The svg path data to append.
+ *
+ * @since 1.24
*/
EAPI void evas_vg_shape_append_svg_path(Evas_Vg_Shape *obj, const char *svg_path_data);
* @param[in] from The source path.
* @param[in] to The destination path.
* @param[in] pos_map The position map in range 0.0 to 1.0.
+ *
+ * @since 1.24
*/
EAPI Eina_Bool evas_vg_shape_interpolate(Evas_Vg_Shape *obj, const Eo *from, const Eo *to, double pos_map);
* @param[in] with The target object.
*
* @return True on equal, @c false otherwise.
+ *
+ * @since 1.24
*/
EAPI Eina_Bool evas_vg_shape_equal_commands(Evas_Vg_Shape *obj, const Eo *with);
* @param[in] obj The object whose fill property gets modified.
* @param[in] The object content will be used for filling.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
* @param[in] obj The object whose fill property is inspected.
* @return The object that is set as fill property.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Node* evas_vg_shape_fill_get(const Evas_Vg_Shape *obj);
* @param[in] obj The object whose stroke fill property gets modified.
* @param[in] f The object content will be used for stroke filling.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_shape_stroke_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
* @param[in] obj The object whose stroke fill property is inspected.
* @return The object that is set as stroke fill property.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Node* evas_vg_shape_stroke_fill_get(const Evas_Vg_Shape *obj);
* @param[in] length The length of the list.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_stop_set(Evas_Vg_Gradient *obj, const Evas_Vg_Gradient_Stop *colors, unsigned int length);
* @param[out] length The length of the list.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_stop_get(Evas_Vg_Gradient *obj, const Evas_Vg_Gradient_Stop **colors, unsigned int *length);
* @param[in] s The spread type to be used.
*
* @since 1.14
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_spread_set(Evas_Vg_Gradient *obj, Evas_Vg_Gradient_Spread s);
/**
* @brief Returns the spread method use by this gradient. The default is
* EVAS_VG_GRADIENT_SPREAD_PAD.
- * @since 1.14
*
* @param[in] obj The object.
* @return The spread type of the given object.
*
+ * @since 1.14
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Gradient_Spread evas_vg_gradient_spread_get(Evas_Vg_Gradient *obj);
* @param[in] parent The given vector container object.
* @return The created linear gradient object handle.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Gradient_Linear* evas_vg_gradient_linear_add(Evas_Vg_Container *parent);
* @param[in] x The x co-ordinate of start point.
* @param[in] y The y co-ordinate of start point
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_linear_start_set(Evas_Vg_Gradient_Linear *obj, double x, double y);
* @param[out] x The x co-ordinate of start point.
* @param[out] y The y co-ordinate of start point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_linear_start_get(Evas_Vg_Gradient_Linear *obj, double *x, double *y);
* @param[in] x The x co-ordinate of end point.
* @param[in] y The y co-ordinate of end point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_linear_end_set(Evas_Vg_Gradient_Linear *obj, double x, double y);
* @param[out] x The x co-ordinate of end point.
* @param[out] y The y co-ordinate of end point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_linear_end_get(Evas_Vg_Gradient_Linear *obj, double *x, double *y);
* @param[in] parent The given vector container object.
* @return The created radial gradient object handle.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI Evas_Vg_Gradient_Radial* evas_vg_gradient_radial_add(Evas_Vg_Container *parent);
* @param[in] x The x co-ordinate of center point.
* @param[in] y The y co-ordinate of center point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_radial_center_set(Evas_Vg_Gradient_Radial *obj, double x, double y);
* @param[out] x The x co-ordinate of center point.
* @param[out] y The y co-ordinate of center point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_radial_center_get(Evas_Vg_Gradient_Radial *obj, double *x, double *y);
* @param[in] obj The object.
* @param[in] r The center radius.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_radial_radius_set(Evas_Vg_Gradient_Radial *obj, double r);
* @param[in] obj The object.
* @return The center radius of the given object.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI double evas_vg_gradient_radial_radius_get(Evas_Vg_Gradient_Radial *obj);
* @param[in] x The x co-ordinate of focal point.
* @param[in] y The y co-ordinate of focal point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_radial_focal_set(Evas_Vg_Gradient_Radial *obj, double x, double y);
* @param[out] x The x co-ordinate of focal point.
* @param[out] y The y co-ordinate of focal point.
*
+ * @since 1.24
+ * @since_tizen 6.0
*/
EAPI void evas_vg_gradient_radial_focal_get(Evas_Vg_Gradient_Radial *obj, double *x, double *y);