thorvg/examples
Hermet Park 9a134fcb90 api: revise the apis for v1.0
replaced std::string with char* in API parameters.

API Modification:
- Result Picture::load(const std::string& path) -> Result Picture::load(const char* filename)
- Result Picture::load(const char* data, uint32_t size, const std::string& mimeType, const std::string& rpath = "", bool copy = false) -> Result Picture::load(const char* data, uint32_t size, const char* mimeType, const char* rpath = "", bool copy = false)
- Result Text::load(const std::string& path) -> Result Text::load(const char* filename)
- Result Text::load(const char* name, const char* data, uint32_t size, const std::string& mimeType = "ttf", bool copy = false) -> Result Text::load(const char* name, const char* data, uint32_t size, const char* mimeType = "ttf", bool copy = false)
- Result Text::unload(const std::string& path) -> Result Text::unload(const char* filename)
- Result Saver::save(std::unique_ptr<Paint> paint, const std::string& path, uint32_t quality = 100) -> Result Saver::save(std::unique_ptr<Paint> paint, const char* filename, uint32_t quality = 100)
- Result Saver::save(std::unique_ptr<Animation> animation, const std::string& path, uint32_t quality = 100, uint32_t fps = 0) -> Result Saver::save(std::unique_ptr<Animation> animation, const char* filename, uint32_t quality = 100, uint32_t fps = 0)

issue: https://github.com/thorvg/thorvg/issues/1372
2024-11-06 21:32:45 +09:00
..
resources examples: updated svg resources 2024-11-04 16:22:10 +09:00
Accessor.cpp svg_loader: Support id attribute for tvg::Accessor 2024-10-09 00:04:41 +09:00
all.sh infra: move the examples folder outside of the source directory. 2024-04-01 10:52:22 +09:00
AnimateMasking.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
Animation.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Blending.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
Capi.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
Clipping.cpp examples: replaced ClipPath with clip() 2024-09-19 14:46:05 +09:00
CustomTransform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
DataLoad.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
DirectUpdate.cpp example: ++ DirectUpdate to cover more scenarios. 2024-07-08 11:39:28 +09:00
Duplicate.cpp api: polish the thorvg API usages 2024-10-13 11:15:57 +09:00
EffectDropShadow.cpp example: added DropShadow sample 2024-11-06 00:56:11 +09:00
EffectGaussianBlur.cpp example: added DropShadow sample 2024-11-06 00:56:11 +09:00
Example.h api: polish the thorvg API usages. 2024-10-12 15:38:03 +09:00
FillRule.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
FillSpread.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
GifSaver.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
GradientMasking.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
GradientStroke.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
GradientTransform.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
ImageRotation.cpp examples: fix mingw build error 2024-10-03 16:39:18 +09:00
ImageScaleDown.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
ImageScaleUp.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Interaction.cpp examples: added Interaction sample 2024-08-07 12:02:22 +09:00
InvLumaMasking.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
InvMasking.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
LinearGradient.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Lottie.cpp Revert "examples: updated samples" 2024-09-15 15:24:36 +09:00
LottieExpressions.cpp lottie/expressions: added a missing polystar property build. 2024-07-18 20:46:06 +09:00
LottieExtension.cpp lottie/slot: revise gradient fill support 2024-11-04 11:43:36 +09:00
LumaMasking.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
Masking.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
MaskingMethods.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
meson.build example: added DropShadow sample 2024-11-06 00:56:11 +09:00
MultiCanvas.cpp api: polish the thorvg API usages. 2024-10-12 15:38:03 +09:00
Opacity.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Path.cpp example: merge Path & PathCopy 2024-07-21 15:05:07 +09:00
Performance.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00
PictureJpg.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
PicturePng.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
PictureRaw.cpp api: polish the thorvg API usages 2024-10-13 11:15:57 +09:00
PictureSvg.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
PictureWebp.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
RadialGradient.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
Retaining.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Scene.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
SceneBlending.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
SceneTransform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Shapes.cpp example: unify Shape & MultiShapes 2024-10-11 17:16:59 +09:00
Stroke.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
StrokeLine.cpp API: deprecate the appendArc() api 2024-08-16 13:30:58 +09:00
StrokeMiterlimit.cpp api: revise the apis for v1.0 2024-11-06 21:32:45 +09:00
StrokeTrim.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Svg.cpp examples: updated svg resources 2024-11-04 16:22:10 +09:00
Text.cpp api: add focal parameters to the radial apis 2024-10-23 11:10:14 +09:00
Transform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Update.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Viewport.cpp api: renamed the composite with mask. 2024-10-16 14:41:26 +09:00