I cannot write to Eina.Size2D.W:
Property or indexer `Eina.Size2D.W' cannot be assigned to (it is read-only)`
Indeed, this is the definition in eina_types.eot.cs:
/// <summary>X position in pixels, from the top-left corner.<br/>Since EFL 1.22.</summary> public int W { get => w; } /// <summary>Y position in pixels, from the top-left corner.<br/>Since EFL 1.22.</summary> public int H { get => h; }
The source eina_types.eot is:
struct @extern Eina.Size2D { [[A 2D size in pixels. @since 1.22 ]] w: int; [[X position in pixels, from the top-left corner.]] h: int; [[Y position in pixels, from the top-left corner.]] }
Therefore the setter is missing.