mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
renamed project name tizenvg => thorvg
we're going to open this project as the independent one, thus removed tizen naming here. Change-Id: Ib3c898067dd9186e893f7cb0903fd70d2ce7b31f
This commit is contained in:
parent
ad5f147c74
commit
56e866dd36
34 changed files with 148 additions and 148 deletions
2
README
2
README
|
@ -1,4 +1,4 @@
|
||||||
Tizen Vector Graphics 0.1.0
|
Thor Vector Graphics 0.1.0
|
||||||
|
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
install_headers([
|
install_headers([
|
||||||
'tizenvg.h',
|
'thorvg.h',
|
||||||
])
|
])
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef _TIZENVG_H_
|
#ifndef _THORVG_H_
|
||||||
#define _TIZENVG_H_
|
#define _THORVG_H_
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ struct Matrix
|
||||||
/**
|
/**
|
||||||
* @class Paint
|
* @class Paint
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -106,7 +106,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class Fill
|
* @class Fill
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -136,7 +136,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class Canvas
|
* @class Canvas
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -164,7 +164,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class LinearGradient
|
* @class LinearGradient
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -186,7 +186,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class RadialGradient
|
* @class RadialGradient
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -209,7 +209,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class Shape
|
* @class Shape
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -273,7 +273,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class Scene
|
* @class Scene
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -304,7 +304,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class SwCanvas
|
* @class SwCanvas
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
@brief description...
|
@brief description...
|
||||||
*
|
*
|
||||||
|
@ -325,7 +325,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class GlCanvas
|
* @class GlCanvas
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -347,7 +347,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @class Engine
|
* @class Engine
|
||||||
*
|
*
|
||||||
* @ingroup TizenVG
|
* @ingroup ThorVG
|
||||||
*
|
*
|
||||||
* @brief description...
|
* @brief description...
|
||||||
*
|
*
|
||||||
|
@ -379,4 +379,4 @@ public:
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //_TIZENVG_H_
|
#endif //_THORVG_H_
|
|
@ -1,4 +1,4 @@
|
||||||
project('tizenvg',
|
project('thorvg',
|
||||||
'cpp',
|
'cpp',
|
||||||
default_options : ['buildtype=debugoptimized', 'werror=false', 'cpp_std=c++14', 'optimization=s'],
|
default_options : ['buildtype=debugoptimized', 'werror=false', 'cpp_std=c++14', 'optimization=s'],
|
||||||
version : '0.1.0',
|
version : '0.1.0',
|
||||||
|
@ -19,9 +19,9 @@ subdir('src')
|
||||||
summary = '''
|
summary = '''
|
||||||
|
|
||||||
Summary:
|
Summary:
|
||||||
tizenvg version : @0@
|
thorvg version : @0@
|
||||||
Build type : @1@
|
Build type : @1@
|
||||||
Prefix : @2@
|
Prefix : @2@
|
||||||
'''.format(
|
'''.format(
|
||||||
meson.project_version(),
|
meson.project_version(),
|
||||||
get_option('buildtype'),
|
get_option('buildtype'),
|
||||||
|
|
10
pc/thorvg.pc.in
Normal file
10
pc/thorvg.pc.in
Normal file
|
@ -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
|
|
@ -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
|
|
|
@ -21,7 +21,7 @@ using namespace std;
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
cout << "test tizenvg!" << endl;
|
cout << "test thorvg!" << endl;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
executable('tizenvg_sample', 'main.cpp')
|
executable('thorvg_sample', 'main.cpp')
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "tizenvg.h"
|
#include "thorvg.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace tvg;
|
using namespace tvg;
|
||||||
|
|
|
@ -9,30 +9,30 @@ thread_dep = meson.get_compiler('cpp').find_library('pthread')
|
||||||
egl_dep = meson.get_compiler('cpp').find_library('EGL')
|
egl_dep = meson.get_compiler('cpp').find_library('EGL')
|
||||||
gles_dep = meson.get_compiler('cpp').find_library('GLESv2')
|
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(
|
thorvg_lib = library(
|
||||||
'tizenvg',
|
'thorvg',
|
||||||
include_directories : headers,
|
include_directories : headers,
|
||||||
version : meson.project_version(),
|
version : meson.project_version(),
|
||||||
dependencies : tizenvg_lib_dep,
|
dependencies : thorvg_lib_dep,
|
||||||
install : true,
|
install : true,
|
||||||
cpp_args : compiler_flags,
|
cpp_args : compiler_flags,
|
||||||
gnu_symbol_visibility : 'hidden',
|
gnu_symbol_visibility : 'hidden',
|
||||||
)
|
)
|
||||||
|
|
||||||
tizenvg_dep = declare_dependency(
|
thorvg_dep = declare_dependency(
|
||||||
include_directories: headers,
|
include_directories: headers,
|
||||||
link_with : tizenvg_lib
|
link_with : thorvg_lib
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_mod = import('pkgconfig')
|
pkg_mod = import('pkgconfig')
|
||||||
|
|
||||||
pkg_mod.generate(
|
pkg_mod.generate(
|
||||||
libraries : tizenvg_lib,
|
libraries : thorvg_lib,
|
||||||
version : meson.project_version(),
|
version : meson.project_version(),
|
||||||
name : 'libtizenvg',
|
name : 'libthorvg',
|
||||||
filebase : 'tizenvg',
|
filebase : 'thorvg',
|
||||||
description : 'A Tizen library for rendering vector graphics'
|
description : 'A Thor library for rendering vector graphics'
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
all:
|
all:
|
||||||
gcc -o testShape testShape.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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
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 tizenvg`
|
gcc -o testAsync testAsync.cpp -g -lstdc++ `pkg-config --cflags --libs elementary thorvg`
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -89,7 +89,7 @@ void win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -97,7 +97,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -62,7 +62,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -52,7 +52,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Composition Source Canvas
|
//Create a Composition Source Canvas
|
||||||
|
@ -30,6 +30,6 @@ int main(int argc, char **argv)
|
||||||
canvas2->draw();
|
canvas2->draw();
|
||||||
canvas2->sync();
|
canvas2->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -103,7 +103,7 @@ void win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -111,7 +111,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -68,7 +68,7 @@ win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -76,7 +76,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -34,7 +34,7 @@ void tvgtest()
|
||||||
|
|
||||||
void init_gl(Evas_Object *obj)
|
void init_gl(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Gl);
|
tvg::Initializer::init(tvg::CanvasEngine::Gl);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -42,7 +42,7 @@ void init_gl(Evas_Object *obj)
|
||||||
|
|
||||||
void del_gl(Evas_Object *obj)
|
void del_gl(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Gl);
|
tvg::Initializer::term(tvg::CanvasEngine::Gl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
elm_config_accel_preference_set("gl");
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
//Create a new glview object
|
//Create a new glview object
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -47,6 +47,6 @@ int main(int argc, char **argv)
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -133,7 +133,7 @@ void win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -141,7 +141,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -80,7 +80,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -40,7 +40,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -55,7 +55,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -95,7 +95,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -80,7 +80,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -86,7 +86,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -127,7 +127,7 @@ void win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -135,7 +135,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -34,7 +34,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -11,7 +11,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -79,7 +79,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -115,7 +115,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -10,7 +10,7 @@ static uint32_t buffer[WIDTH * HEIGHT];
|
||||||
|
|
||||||
void tvgtest()
|
void tvgtest()
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
//Create a Canvas
|
//Create a Canvas
|
||||||
|
@ -25,7 +25,7 @@ void tvgtest()
|
||||||
canvas->draw();
|
canvas->draw();
|
||||||
canvas->sync();
|
canvas->sync();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -96,7 +96,7 @@ void win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -104,7 +104,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <tizenvg.h>
|
#include <thorvg.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -57,7 +57,7 @@ void win_del(void *data, Evas_Object *o, void *ev)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//Initialize TizenVG Engine
|
//Initialize ThorVG Engine
|
||||||
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
tvg::Initializer::init(tvg::CanvasEngine::Sw);
|
||||||
|
|
||||||
tvgtest();
|
tvgtest();
|
||||||
|
@ -65,7 +65,7 @@ int main(int argc, char **argv)
|
||||||
//Show the result using EFL...
|
//Show the result using EFL...
|
||||||
elm_init(argc, argv);
|
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);
|
evas_object_smart_callback_add(win, "delete,request", win_del, 0);
|
||||||
|
|
||||||
Eo* img = evas_object_image_filled_add(evas_object_evas_get(win));
|
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_run();
|
||||||
elm_shutdown();
|
elm_shutdown();
|
||||||
|
|
||||||
//Terminate TizenVG Engine
|
//Terminate ThorVG Engine
|
||||||
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
tvg::Initializer::term(tvg::CanvasEngine::Sw);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue