thorvg/src/renderer/meson.build
Hermet Park 54528b6ac9 renderer: introduce a ThorVG Text interface.
Introduced New APIs under the experimental tags.

- Result Text::font(const char* name, float size, const char* style = nullptr);
- Result Text::text(const char* text);
- Result Text::fill(uint8_t r, uint8_t g, uint8_t b);
- static Result Text::load(const std::string& path);
- static Result Text::unload(const std::string& path);
- static Text::std::unique_ptr<Text> gen();
- static Text::uint32_t identifier()

@Issue: https://github.com/thorvg/thorvg/issues/969
2024-01-02 20:34:11 +09:00

53 lines
1 KiB
Meson

engine_dep = []
if get_option('engines').contains('sw') == true
subdir('sw_engine')
endif
if get_option('engines').contains('gl_beta') == true
subdir('gl_engine')
endif
if get_option('engines').contains('wg_beta') == true
subdir('wg_engine')
endif
source_file = [
'tvgCanvas.h',
'tvgCommon.h',
'tvgBinaryDesc.h',
'tvgFill.h',
'tvgFrameModule.h',
'tvgLoader.h',
'tvgLoadModule.h',
'tvgPicture.h',
'tvgRender.h',
'tvgIteratorAccessor.h',
'tvgSaveModule.h',
'tvgScene.h',
'tvgShape.h',
'tvgTaskScheduler.h',
'tvgText.h',
'tvgAccessor.cpp',
'tvgAnimation.cpp',
'tvgCanvas.cpp',
'tvgFill.cpp',
'tvgGlCanvas.cpp',
'tvgInitializer.cpp',
'tvgLoader.cpp',
'tvgPaint.cpp',
'tvgPicture.cpp',
'tvgRender.cpp',
'tvgSaver.cpp',
'tvgScene.cpp',
'tvgShape.cpp',
'tvgSwCanvas.cpp',
'tvgTaskScheduler.cpp',
'tvgText.cpp'
]
common_dep = declare_dependency(
dependencies : engine_dep,
include_directories : include_directories('.'),
sources : source_file
)