Provide the simple api as possible.
return sd->clipper;
}
+#if 0
EOLIAN static void
_elm_clipper_region_set(Eo *obj, Elm_Clipper_Data *sd, double x1, double y1, double x2, double y2)
{
if (x2) *x2 = sd->region_x2;
if (y2) *y2 = sd->region_y2;
}
+#endif
EOLIAN static Eina_Bool
_elm_clipper_elm_widget_sub_object_del(Eo *obj, Elm_Clipper_Data *sd, Evas_Object *sobj)
Evas_Object *clip;
}
}
- @property region {
- set {
- /*@
- @brief Set the region of the clipper
-
- Sets the position and the size of the clipper on clipper object
-
- @note The value should be normalized. (0 ~ 1)
-
- @since 1.15
-
- @ingroup Clipper */
- }
- get {
- /*@
- @brief Get the region of the clipper
-
- @see elm_clipper_region_align_set()
-
- @since 1.15
-
- @ingroup Clipper */
- }
- values {
- double x1; /*@ left edge of the clipper on elm_clipper widget */
- double y1; /*@ top edge of the clipper on elm_clipper widget */
- double x2; /*@ right edge of the clipper on elm_clipper widget */
- double y2; /*@ bottom edge of the clipper on elm_clipper widget */
- }
- }
}
implements {
class.constructor;