thorvg/src/examples
Hermet Park 74954db56d common paint: refine the bounds() api to return the values after applying transformation.
Current paint::bounds() returns the coordinates under the raw status,
the values are not quite useful if the paint object has the transformed children.

Thus, we extends the feature and give an additional parameter "transformed"
to return the coordinates values after transformation by user demands.

This is also necessary for tvg format, since we need the exact view size of the scene information.

The previous api is deprecated and we introduce a new api to replace it.

@APIs:
+ Result Paint::bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
- Result Paint::bounds(float* x, float* y, float* w, float* h) const noexcept;

@Issues: https://github.com/Samsung/thorvg/issues/746
2021-09-24 11:25:49 +09:00
..
images common paint: refine the bounds() api to return the values after applying transformation. 2021-09-24 11:25:49 +09:00
AnimateMasking.cpp api: set default value nullptr for user convenience. 2021-09-09 12:40:43 +09:00
Arc.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Async.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Blending.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Boundary.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Capi.cpp updated copyright 2021-03-23 14:31:58 +09:00
ClipPath.cpp common sw_engine: optimize single rectangle ClipPath. 2021-03-26 17:10:35 +09:00
Common.h updated copyright 2021-03-23 14:31:58 +09:00
CustomTransform.cpp examples: revise examples 2021-06-10 16:08:00 +09:00
DirectUpdate.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Duplicate.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
FillRule.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
GradientMasking.cpp example: refactoring 2021-09-22 01:13:52 +02:00
GradientStroke.cpp examples: revise examples 2021-06-10 16:08:00 +09:00
GradientTransform.cpp examples: revise examples 2021-06-10 16:08:00 +09:00
InvMasking.cpp example: refactoring 2021-09-22 01:13:52 +02:00
LinearGradient.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Masking.cpp examples: fix wrong data size conversion. 2021-05-01 12:56:49 +09:00
meson.build examples tvg: added a new example to verify tvg resources. 2021-09-08 13:29:04 +09:00
MultiCanvas.cpp examples: replace sprintf() with snprintf() 2021-07-22 16:32:12 +09:00
MultiShapes.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Opacity.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Path.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
PathCopy.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Performance.cpp example performance: improve to print average... 2021-07-27 23:32:49 +09:00
PictureJpg.cpp loaders: Pass mimetype to picture::load 2021-08-05 11:02:26 +09:00
PicturePng.cpp loaders: Pass mimetype to picture::load 2021-08-05 11:02:26 +09:00
PictureRaw.cpp examples: fix wrong data size conversion. 2021-05-01 12:56:49 +09:00
PictureTvg.cpp common picture: quick fix the broken bounds() interface. 2021-08-25 19:32:26 +09:00
RadialGradient.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Scene.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
SceneTransform.cpp examples: revise examples 2021-06-10 16:08:00 +09:00
Shape.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Stacking.cpp examples: revise examples 2021-06-10 16:08:00 +09:00
Stress.cpp examples: replace sprintf() with snprintf() 2021-07-22 16:32:12 +09:00
Stroke.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
StrokeLine.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00
Svg.cpp examples: extends svg samples 2021-09-13 20:49:46 +09:00
Svg2.cpp loaders: Pass mimetype to picture::load 2021-08-05 11:02:26 +09:00
Transform.cpp examples: revise examples 2021-06-10 16:08:00 +09:00
Tvg.cpp examples: updated tvg sample 2021-09-14 19:53:12 +09:00
TvgSaver.cpp common picture: quick fix the broken bounds() interface. 2021-08-25 19:32:26 +09:00
Update.cpp examples: allow a desianted main thread capacity. 2021-03-24 14:19:01 +09:00