Efl.Gfx.Mapping.rotate_absolute

Description

Apply a rotation to the object, using absolute coordinates.

This rotates the object clockwise by degrees degrees, around the center specified by the relative position (cx, cy) in the pivot object. If pivot is null then this object is used as its own pivot center. 360 degrees is a full rotation, equivalent to no rotation. Negative values for degrees will rotate clockwise by that amount.

The given coordinates are absolute values in pixels. See also Efl.Gfx.Mapping.rotate for a relative coordinate version.

Since 1.22

Signature

rotate_absolute {
    params {
        @in degrees: double;
        @in cx: double;
        @in cy: double;
    }
}

C signature

void efl_gfx_mapping_rotate_absolute(Eo *obj, double degrees, double cx, double cy);

Parameters

  • degrees (in) - CCW rotation in degrees.
  • cx (in) - X absolute coordinate in pixels of the center point.
  • cy (in) - y absolute coordinate in pixels of the center point.

Implemented by