Queries a given object item for its geometry.

Note that the provided annotation should be an object item type.

Since 1.18


object_item_geometry_get @pure_virtual {
    params {
        @in an: ptr(const(Efl.Text.Annotate.Annotation));
        @out x: int;
        @out y: int;
        @out w: int;
        @out h: int;
    return: bool;

C signature

Eina_Bool efl_text_object_item_geometry_get(Eo *obj, const Efl_Text_Annotate_Annotation *an, int *x, int *y, int *w, int *h);


  • an (in) - Given annotation to query
  • x (out) - X coordinate of the annotation
  • y (out) - Y coordinate of the annotation
  • w (out) - Width of the annotation
  • h (out) - Height of the annotation

Implemented by

  • Efl.Text.Annotate.object_item_geometry_get