Description

Rotate the object around 3 axes in 3D, using absolute coordinates.

This will rotate in 3D and not just around the "Z" axis as the case with Efl.Gfx.Map.rotate. This will rotate around the X, Y and Z axes. The Z axis points "into" the screen with low values at the screen and higher values further away. The X axis runs from left to right on the screen and the Y axis from top to bottom.

The coordinates of the center point are given in absolute canvas coordinates. See also Efl.Gfx.Map.rotate_3d for a pivot-based 3D rotation.

Since 1.20

Signature

rotate_3d_absolute {
    params {
        @in dx: double;
        @in dy: double;
        @in dz: double;
        @in cx: double;
        @in cy: double;
        @in cz: double;
    }
}

C signature

void efl_gfx_map_rotate_3d_absolute(Eo *obj, double dx, double dy, double dz, double cx, double cy, double cz);

Parameters

  • dx (in) - Rotation in degrees around X axis (0 to 360).
  • dy (in) - Rotation in degrees around Y axis (0 to 360).
  • dz (in) - Rotation in degrees around Z axis (0 to 360).
  • cx (in) - X absolute coordinate in pixels of the center point.
  • cy (in) - y absolute coordinate in pixels of the center point.
  • cz (in) - Z absolute coordinate of the center point.

Implemented by

  • Efl.Gfx.Map.rotate_3d_absolute