Efl.Text_Annotate.item_geometry_get

Description

Queries a given object item for its geometry.

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

Signature

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_item_geometry_get(Eo *obj, const Efl_Text_Annotate_Annotation *an, int *x, int *y, int *w, int *h);

Parameters

  • 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