Description

A 2D location in pixels.

Since 1.22

Fields

  • x - X position in pixels, from the top-left corner.
  • y - Y position in pixels, from the top-left corner.

Signature

struct @extern Eina.Position2D {
    x: int;
    y: int;
}

C signature

typedef struct _Eina_Position2D {
    int x;
    int y;
} Eina_Position2D;