Provides functions to capture screen shot.
Required Header
#include <efl_util.h>
Overview
The EFL UTIL SCREENSHOT API provides functions to capture screenshot. Client can get screenshot image by efl_util_screenshot_take_tbm_surface API with tbm_surface handler.
Typedef Documentation
Definition for the screenshot handle.
- Warning:
- This is not for use by third-party applications.
- Since :
- 2.4
Function Documentation
Deinitializes the screenshot.
- Warning:
- This is not for use by third-party applications.
- Since :
- 2.4
- Privilege Level:
- platform
- Privilege:
- http://tizen.org/privilege/screenshot
- Parameters:
-
[in] | screenshot | efl_util_screenshot_h handle |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- efl_util_screenshot_initialize()
Initializes the screenshot.
- Warning:
- This is not for use by third-party applications.
- Since :
- 2.4
- Privilege Level:
- platform
- Privilege:
- http://tizen.org/privilege/screenshot
- Parameters:
-
[in] | width | width of the screenshot surface |
[in] | height | height of the screenshot surface |
- Returns:
- efl_util_screenshot_h on success, otherwise
NULL
- Return values:
-
- Exceptions:
-
- See also:
- efl_util_screenshot_deinitialize()
Takes a screenshot and get a tbm_surface handle.
- Warning:
- This is not for use by third-party applications.
- Since :
- 2.4
- Privilege Level:
- platform
- Privilege:
- http://tizen.org/privilege/screenshot
- Parameters:
-
[in] | screenshot | efl_util_screenshot_h handle |
- Returns:
- tbm_surface_h on success, otherwise
NULL
- Return values:
-
- Exceptions:
-
- See also:
- efl_util_screenshot_initialize()
-
efl_util_screenshot_deinitialize()