**diff options**

Diffstat (limited to 'pages/develop/api/efl/gfx/map/method/perspective_3d_absolute.txt')

-rw-r--r-- | pages/develop/api/efl/gfx/map/method/perspective_3d_absolute.txt | 22 |

1 files changed, 11 insertions, 11 deletions

diff --git a/pages/develop/api/efl/gfx/map/method/perspective_3d_absolute.txt b/pages/develop/api/efl/gfx/map/method/perspective_3d_absolute.txt index c95dd0b8b..5e2585329 100644 --- a/pages/develop/api/efl/gfx/map/method/perspective_3d_absolute.txt +++ b/pages/develop/api/efl/gfx/map/method/perspective_3d_absolute.txt @@ -1,4 +1,15 @@ ~~Title: Efl.Gfx.Map.perspective_3d_absolute~~ +===== Description ===== + +%%Apply a perspective transform to the map%% + +%%This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The %%''z0''%% value specifies the z value at which there is a 1:1 mapping between spatial coordinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those less than this value will expand and become bigger. The %%''foc''%% value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and %%''foc''%% must be greater than 0.%% + +%%The coordinates of the center point are given in absolute canvas coordinates. See also %%[[:develop:api:efl:gfx:map:method:perspective_3d|Efl.Gfx.Map.perspective_3d]]%% for a pivot-based perspective effect.%% + +//Since 1.20// +{{page>:develop:api-include:efl:gfx:map:method:perspective_3d_absolute:description&nouser&nolink&nodate}} + ===== Signature ===== <code> @@ -25,17 +36,6 @@ void efl_gfx_map_perspective_3d_absolute(Eo *obj, double px, double py, double z * **z0** //(in)// - %%The "0" Z plane value.%% * **foc** //(in)// - %%The focal distance, must be greater than 0.%% -===== Description ===== - -%%Apply a perspective transform to the map%% - -%%This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The %%''z0''%% value specifies the z value at which there is a 1:1 mapping between spatial coordinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those less than this value will expand and become bigger. The %%''foc''%% value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and %%''foc''%% must be greater than 0.%% - -%%The coordinates of the center point are given in absolute canvas coordinates. See also %%[[:develop:api:efl:gfx:map:method:perspective_3d|Efl.Gfx.Map.perspective_3d]]%% for a pivot-based perspective effect.%% - -//Since 1.20// -{{page>:develop:api-include:efl:gfx:map:method:perspective_3d_absolute:description&nouser&nolink&nodate}} - ===== Implemented by ===== * **Efl.Gfx.Map.perspective_3d_absolute** |