summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/efl/ewk/ewk_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/efl/ewk/ewk_util.cpp')
-rw-r--r--Source/WebKit/efl/ewk/ewk_util.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebKit/efl/ewk/ewk_util.cpp b/Source/WebKit/efl/ewk/ewk_util.cpp
index 6830f76..b01be72 100644
--- a/Source/WebKit/efl/ewk/ewk_util.cpp
+++ b/Source/WebKit/efl/ewk/ewk_util.cpp
@@ -24,6 +24,13 @@
#include "ewk_private.h"
#include <eina_safety_checks.h>
+/**
+ * Converts an image from cairo_surface to the Evas_Object.
+ *
+ * @param canvas display canvas
+ * @param surface cairo representation of an image
+ * @return converted cairo_surface object to the Evas_Object
+ */
Evas_Object* ewk_util_image_from_cairo_surface_add(Evas* canvas, cairo_surface_t* surface)
{
cairo_status_t status;