From 56e866dd36a7ac374966bb34e5854f598d741746 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 25 Jun 2020 13:52:50 +0900 Subject: [PATCH] renamed project name tizenvg => thorvg we're going to open this project as the independent one, thus removed tizen naming here. Change-Id: Ib3c898067dd9186e893f7cb0903fd70d2ce7b31f --- README | 2 +- inc/meson.build | 2 +- inc/{tizenvg.h => thorvg.h} | 26 ++++++++++++------------ meson.build | 8 ++++---- pc/thorvg.pc.in | 10 ++++++++++ pc/tizenvg.pc.in | 10 ---------- src/examples/main.cpp | 2 +- src/examples/meson.build | 2 +- src/lib/tvgCommon.h | 2 +- src/meson.build | 20 +++++++++---------- test/makefile | 40 ++++++++++++++++++------------------- test/testAsync.cpp | 8 ++++---- test/testBlending.cpp | 8 ++++---- test/testBoundary.cpp | 8 ++++---- test/testComposition.cpp | 6 +++--- test/testCustomTransform.cpp | 8 ++++---- test/testDirectUpdate.cpp | 8 ++++---- test/testGlShape.cpp | 8 ++++---- test/testGradient.cpp | 6 +++--- test/testGradientTransform.cpp | 8 ++++---- test/testLinearGradient.cpp | 8 ++++---- test/testMultiShapes.cpp | 8 ++++---- test/testPath.cpp | 8 ++++---- test/testPathCopy.cpp | 8 ++++---- test/testRadialGradient.cpp | 8 ++++---- test/testScene.cpp | 8 ++++---- test/testSceneTransform.cpp | 8 ++++---- test/testShape.cpp | 8 ++++---- test/testStroke.cpp | 8 ++++---- test/testStrokeLine.cpp | 8 ++++---- test/testSvg.cpp | 8 ++++---- test/testTransform.cpp | 8 ++++---- test/testUpdate.cpp | 8 ++++---- tizenvg.manifest => thorvg.manifest | 0 34 files changed, 148 insertions(+), 148 deletions(-) rename inc/{tizenvg.h => thorvg.h} (96%) create mode 100644 pc/thorvg.pc.in delete mode 100644 pc/tizenvg.pc.in rename tizenvg.manifest => thorvg.manifest (100%) diff --git a/README b/README index 72cf83d..31d0cbd 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Tizen Vector Graphics 0.1.0 +Thor Vector Graphics 0.1.0 ****************************************************************************** diff --git a/inc/meson.build b/inc/meson.build index 4046844..c598ee5 100644 --- a/inc/meson.build +++ b/inc/meson.build @@ -1,3 +1,3 @@ install_headers([ - 'tizenvg.h', + 'thorvg.h', ]) diff --git a/inc/tizenvg.h b/inc/thorvg.h similarity index 96% rename from inc/tizenvg.h rename to inc/thorvg.h index a9e797f..54c7e11 100644 --- a/inc/tizenvg.h +++ b/inc/thorvg.h @@ -14,8 +14,8 @@ * limitations under the License. * */ -#ifndef _TIZENVG_H_ -#define _TIZENVG_H_ +#ifndef _THORVG_H_ +#define _THORVG_H_ #include @@ -89,7 +89,7 @@ struct Matrix /** * @class Paint * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -106,7 +106,7 @@ public: /** * @class Fill * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -136,7 +136,7 @@ public: /** * @class Canvas * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -164,7 +164,7 @@ public: /** * @class LinearGradient * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -186,7 +186,7 @@ public: /** * @class RadialGradient * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -209,7 +209,7 @@ public: /** * @class Shape * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -273,7 +273,7 @@ public: /** * @class Scene * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -304,7 +304,7 @@ public: /** * @class SwCanvas * - * @ingroup TizenVG + * @ingroup ThorVG * @brief description... * @@ -325,7 +325,7 @@ public: /** * @class GlCanvas * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -347,7 +347,7 @@ public: /** * @class Engine * - * @ingroup TizenVG + * @ingroup ThorVG * * @brief description... * @@ -379,4 +379,4 @@ public: } #endif -#endif //_TIZENVG_H_ +#endif //_THORVG_H_ diff --git a/meson.build b/meson.build index 6693650..b1cf7ac 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('tizenvg', +project('thorvg', 'cpp', default_options : ['buildtype=debugoptimized', 'werror=false', 'cpp_std=c++14', 'optimization=s'], version : '0.1.0', @@ -19,9 +19,9 @@ subdir('src') summary = ''' Summary: - tizenvg version : @0@ - Build type : @1@ - Prefix : @2@ + thorvg version : @0@ + Build type : @1@ + Prefix : @2@ '''.format( meson.project_version(), get_option('buildtype'), diff --git a/pc/thorvg.pc.in b/pc/thorvg.pc.in new file mode 100644 index 0000000..53235fe --- /dev/null +++ b/pc/thorvg.pc.in @@ -0,0 +1,10 @@ +prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=@INCDIR@ + +Name: Thor Vector Graphics +Description: Thor Vector Graphics Library +Version: @VERSION@ +Requires: +Libs: -L${libdir} -lthorvg +Cflags: -I${includedir}/thorvg diff --git a/pc/tizenvg.pc.in b/pc/tizenvg.pc.in deleted file mode 100644 index 631bc2a..0000000 --- a/pc/tizenvg.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=@PREFIX@ -libdir=@LIBDIR@ -includedir=@INCDIR@ - -Name: Tizen Vector Graphics -Description: Tizen Vector Graphics Library -Version: @VERSION@ -Requires: -Libs: -L${libdir} -ltizenvg -Cflags: -I${includedir}/tizenvg diff --git a/src/examples/main.cpp b/src/examples/main.cpp index 4b9154b..fee1aa8 100644 --- a/src/examples/main.cpp +++ b/src/examples/main.cpp @@ -21,7 +21,7 @@ using namespace std; int main(int argc, char *argv[]) { - cout << "test tizenvg!" << endl; + cout << "test thorvg!" << endl; return 0; } diff --git a/src/examples/meson.build b/src/examples/meson.build index 8954536..4ba6e9b 100644 --- a/src/examples/meson.build +++ b/src/examples/meson.build @@ -1 +1 @@ -executable('tizenvg_sample', 'main.cpp') +executable('thorvg_sample', 'main.cpp') diff --git a/src/lib/tvgCommon.h b/src/lib/tvgCommon.h index 302f4e9..79f7c18 100644 --- a/src/lib/tvgCommon.h +++ b/src/lib/tvgCommon.h @@ -23,7 +23,7 @@ #include #include #include -#include "tizenvg.h" +#include "thorvg.h" using namespace std; using namespace tvg; diff --git a/src/meson.build b/src/meson.build index b5000bc..493497b 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,30 +9,30 @@ thread_dep = meson.get_compiler('cpp').find_library('pthread') egl_dep = meson.get_compiler('cpp').find_library('EGL') gles_dep = meson.get_compiler('cpp').find_library('GLESv2') -tizenvg_lib_dep = [ src_dep, swengine_dep, glengine_dep, m_dep, egl_dep, gles_dep, svgloader_dep, thread_dep] +thorvg_lib_dep = [ src_dep, swengine_dep, glengine_dep, m_dep, egl_dep, gles_dep, svgloader_dep, thread_dep] -tizenvg_lib = library( - 'tizenvg', +thorvg_lib = library( + 'thorvg', include_directories : headers, version : meson.project_version(), - dependencies : tizenvg_lib_dep, + dependencies : thorvg_lib_dep, install : true, cpp_args : compiler_flags, gnu_symbol_visibility : 'hidden', ) -tizenvg_dep = declare_dependency( +thorvg_dep = declare_dependency( include_directories: headers, - link_with : tizenvg_lib + link_with : thorvg_lib ) pkg_mod = import('pkgconfig') pkg_mod.generate( - libraries : tizenvg_lib, + libraries : thorvg_lib, version : meson.project_version(), - name : 'libtizenvg', - filebase : 'tizenvg', - description : 'A Tizen library for rendering vector graphics' + name : 'libthorvg', + filebase : 'thorvg', + description : 'A Thor library for rendering vector graphics' ) diff --git a/test/makefile b/test/makefile index 870c3bb..33eb7d9 100644 --- a/test/makefile +++ b/test/makefile @@ -1,21 +1,21 @@ all: - gcc -o testShape testShape.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testMultiShapes testMultiShapes.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testBoundary testBoundary.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testPath testPath.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testPathCopy testPathCopy.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testBlending testBlending.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testUpdate testUpdate.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testDirectUpdate testDirectUpdate.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testScene testScene.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testTransform testTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testCustomTransform testCustomTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testSceneTransform testSceneTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testStroke testStroke.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testStrokeLine testStrokeLine.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testLinearGradient testLinearGradient.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testRadialGradient testRadialGradient.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testGradientTransform testGradientTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testSvg testSvg.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testGlShape testGlShape.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` - gcc -o testAsync testAsync.cpp -g -lstdc++ `pkg-config --cflags --libs elementary tizenvg` + gcc -o testShape testShape.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testMultiShapes testMultiShapes.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testBoundary testBoundary.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testPath testPath.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testPathCopy testPathCopy.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testBlending testBlending.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testUpdate testUpdate.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testDirectUpdate testDirectUpdate.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testScene testScene.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testTransform testTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testCustomTransform testCustomTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testSceneTransform testSceneTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testStroke testStroke.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testStrokeLine testStrokeLine.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testLinearGradient testLinearGradient.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testRadialGradient testRadialGradient.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testGradientTransform testGradientTransform.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testSvg testSvg.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testGlShape testGlShape.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` + gcc -o testAsync testAsync.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg` diff --git a/test/testAsync.cpp b/test/testAsync.cpp index 4d042dc..7172dd9 100644 --- a/test/testAsync.cpp +++ b/test/testAsync.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -89,7 +89,7 @@ void win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -97,7 +97,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -116,6 +116,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testBlending.cpp b/test/testBlending.cpp index ebb3e67..82aa32d 100644 --- a/test/testBlending.cpp +++ b/test/testBlending.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -62,7 +62,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -78,7 +78,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testBoundary.cpp b/test/testBoundary.cpp index a71374a..d7cb8fa 100644 --- a/test/testBoundary.cpp +++ b/test/testBoundary.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -52,7 +52,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -68,7 +68,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testComposition.cpp b/test/testComposition.cpp index d8ca979..6230dc0 100644 --- a/test/testComposition.cpp +++ b/test/testComposition.cpp @@ -1,4 +1,4 @@ -#include +#include using namespace std; @@ -9,7 +9,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Composition Source Canvas @@ -30,6 +30,6 @@ int main(int argc, char **argv) canvas2->draw(); canvas2->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testCustomTransform.cpp b/test/testCustomTransform.cpp index cc0c8bb..c57d4d4 100644 --- a/test/testCustomTransform.cpp +++ b/test/testCustomTransform.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -103,7 +103,7 @@ void win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -111,7 +111,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -134,6 +134,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testDirectUpdate.cpp b/test/testDirectUpdate.cpp index eb3a9dc..4dbc26b 100644 --- a/test/testDirectUpdate.cpp +++ b/test/testDirectUpdate.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -68,7 +68,7 @@ win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -76,7 +76,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -99,6 +99,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testGlShape.cpp b/test/testGlShape.cpp index 8ad43ae..c488091 100644 --- a/test/testGlShape.cpp +++ b/test/testGlShape.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -34,7 +34,7 @@ void tvgtest() void init_gl(Evas_Object *obj) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Gl); tvgtest(); @@ -42,7 +42,7 @@ void init_gl(Evas_Object *obj) void del_gl(Evas_Object *obj) { - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Gl); } @@ -74,7 +74,7 @@ int main(int argc, char **argv) elm_config_accel_preference_set("gl"); - Eo* win = elm_win_util_standard_add(nullptr, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(nullptr, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); //Create a new glview object diff --git a/test/testGradient.cpp b/test/testGradient.cpp index cf33a1e..d20cce9 100644 --- a/test/testGradient.cpp +++ b/test/testGradient.cpp @@ -1,4 +1,4 @@ -#include +#include using namespace std; @@ -9,7 +9,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -47,6 +47,6 @@ int main(int argc, char **argv) canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testGradientTransform.cpp b/test/testGradientTransform.cpp index 428acc5..1b5137b 100644 --- a/test/testGradientTransform.cpp +++ b/test/testGradientTransform.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -133,7 +133,7 @@ void win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -141,7 +141,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -164,6 +164,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testLinearGradient.cpp b/test/testLinearGradient.cpp index 8016a45..ed0d31d 100644 --- a/test/testLinearGradient.cpp +++ b/test/testLinearGradient.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -80,7 +80,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -96,7 +96,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testMultiShapes.cpp b/test/testMultiShapes.cpp index 9fff6f0..02101ed 100644 --- a/test/testMultiShapes.cpp +++ b/test/testMultiShapes.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -40,7 +40,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -56,7 +56,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testPath.cpp b/test/testPath.cpp index efb784f..a5bdc9e 100644 --- a/test/testPath.cpp +++ b/test/testPath.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -55,7 +55,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -71,7 +71,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testPathCopy.cpp b/test/testPathCopy.cpp index 4ba5941..fc3395e 100644 --- a/test/testPathCopy.cpp +++ b/test/testPathCopy.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -95,7 +95,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -111,7 +111,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testRadialGradient.cpp b/test/testRadialGradient.cpp index e10be47..841c6e1 100644 --- a/test/testRadialGradient.cpp +++ b/test/testRadialGradient.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -80,7 +80,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -96,7 +96,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testScene.cpp b/test/testScene.cpp index db6fd53..c5672c7 100644 --- a/test/testScene.cpp +++ b/test/testScene.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -86,7 +86,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -103,7 +103,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testSceneTransform.cpp b/test/testSceneTransform.cpp index 1e411fe..07879c1 100644 --- a/test/testSceneTransform.cpp +++ b/test/testSceneTransform.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -127,7 +127,7 @@ void win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -135,7 +135,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -157,6 +157,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testShape.cpp b/test/testShape.cpp index 4cc1f7f..a79c770 100644 --- a/test/testShape.cpp +++ b/test/testShape.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -34,7 +34,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -51,7 +51,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testStroke.cpp b/test/testStroke.cpp index 68bffa2..bc50dca 100644 --- a/test/testStroke.cpp +++ b/test/testStroke.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -11,7 +11,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -79,7 +79,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -95,7 +95,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testStrokeLine.cpp b/test/testStrokeLine.cpp index 3b6cc9d..559479d 100644 --- a/test/testStrokeLine.cpp +++ b/test/testStrokeLine.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -115,7 +115,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -131,7 +131,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testSvg.cpp b/test/testSvg.cpp index cad2f1b..b7671b8 100644 --- a/test/testSvg.cpp +++ b/test/testSvg.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT]; void tvgtest() { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); //Create a Canvas @@ -25,7 +25,7 @@ void tvgtest() canvas->draw(); canvas->sync(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } @@ -42,7 +42,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); diff --git a/test/testTransform.cpp b/test/testTransform.cpp index 5222743..dd3423a 100644 --- a/test/testTransform.cpp +++ b/test/testTransform.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -96,7 +96,7 @@ void win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -104,7 +104,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -127,6 +127,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/test/testUpdate.cpp b/test/testUpdate.cpp index 7111b21..3a39913 100644 --- a/test/testUpdate.cpp +++ b/test/testUpdate.cpp @@ -1,4 +1,4 @@ -#include +#include #include using namespace std; @@ -57,7 +57,7 @@ void win_del(void *data, Evas_Object *o, void *ev) int main(int argc, char **argv) { - //Initialize TizenVG Engine + //Initialize ThorVG Engine tvg::Initializer::init(tvg::CanvasEngine::Sw); tvgtest(); @@ -65,7 +65,7 @@ int main(int argc, char **argv) //Show the result using EFL... elm_init(argc, argv); - Eo* win = elm_win_util_standard_add(NULL, "TizenVG Test"); + Eo* win = elm_win_util_standard_add(NULL, "ThorVG Test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); Eo* img = evas_object_image_filled_add(evas_object_evas_get(win)); @@ -88,6 +88,6 @@ int main(int argc, char **argv) elm_run(); elm_shutdown(); - //Terminate TizenVG Engine + //Terminate ThorVG Engine tvg::Initializer::term(tvg::CanvasEngine::Sw); } diff --git a/tizenvg.manifest b/thorvg.manifest similarity index 100% rename from tizenvg.manifest rename to thorvg.manifest -- 2.7.4