Commit graph

33 commits

Author SHA1 Message Date
Mira Grudzinska
2780d77a52 capi: tvg_paint_transform -> tvg_paint_set_transform 2021-10-26 19:20:15 +09:00
Mira Grudzinska
1006cbd0d8 tests: added Capis gradient transformation tests 2021-10-25 19:35:00 +09:00
Mira Grudzinska
78b7b278c0 tests: saver capis added into the tests 2021-10-13 21:25:44 +09:00
Mira Grudzinska
e6debdbf15
capi: tvg_swcanvas_set_mempool capi added (#903)
* capi: tvg_swcanvas_set_mempool capi added

* tests: tvg_swcanvas_set_mempool added to the tests
2021-10-13 19:31:39 +09:00
Mira Grudzinska
a4d2a99c03 tests: tvg_gradient_duplicate added to the capi tests 2021-10-13 18:34:02 +09:00
Mira Grudzinska
304a351dcc tests: added tests for size and composite C apis 2021-10-07 15:03:28 +09:00
Hermet Park
9737dd4a89 test capi: update tvg_paint_get_bounds() utc.
The api has been changed by 060564cc93
update it according its change.
2021-10-06 22:17:18 +09:00
Projectitis
591ea1d61c Changes to support MSVC 2021-09-29 22:56:52 +09:00
bchrescionko
a50ccbb0c6
test: added test for tvg_picture_get_viewbox function 2021-09-24 21:08:59 +09:00
Michal Maciola
cff8815404
loaders: Pass mimetype to picture::load
* loaders: Pass mimetype to picture::load

Added mimetype attribute to enfaster loading using a proper loader.

@Changed api: Picture::load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false)
@issue: #571
2021-08-05 11:02:26 +09:00
Hermet Park
5e52134e2a dexample Picture: improve the test coverage.
In this patch, it replaced the test images with Lenna.
and fix the wrong jpeg file size figuring.
2021-07-30 12:09:59 +09:00
Hermet Park
f7f241cff5 common picture: remove viewbox() api.
picture provides size() interface to return the image size,
viewbox() is conceptually not correct with the Picture.

Remove it under the beta api.
2021-07-28 13:07:43 +09:00
Hermet Park
94eeb92dbe infra: seprate test image resources from the examples.
change for removing dependency.
2021-07-19 14:43:26 +09:00
Michal Maciola
58ad09a07a
test capi: added missing canvas, paint and shape tests
Added tests for tvg_canvas_reserve, tvg_canvas_update_paint, tvg_paint_duplicate, tvg_paint_set_composite_method, tvg_shape_cubic_to, tvg_shape_close
2021-07-16 00:34:54 +09:00
Michal Maciola
9bfacf2256
test capi: Stroke Radial Gradient
Added tvg_shape_get_gradient
2021-07-16 00:32:41 +09:00
Michal Maciola
ba1a38ed39 test capi: Stroke Linear Gradient fix #2 2021-07-15 16:06:11 +09:00
Michal Maciola
a757e6b97d test capi: Stroke Linear Gradient fix #1
Added tvg_shape_get_gradient
2021-07-15 16:06:11 +09:00
Michal Maciola
3d672a4ea8 test capi: Stroke Linear Gradient 2021-07-15 16:06:11 +09:00
Michal Maciola
9b276cc5fa test capi: scene added negative tests 2021-07-14 23:22:09 +09:00
Hermet Park
30f4beacf5 test capi: complement scene test cases. 2021-07-08 18:41:04 +09:00
jykeon
60b9bc136c tests capi: Add capi Scene TC. 2021-07-08 17:35:19 +09:00
Hermet Park
a5d2950902 test capi: code refactoring
use catch Approx functions to compare floating-point values.
2021-07-03 16:51:50 +09:00
Hermet Park
009c475fc9 test capi: add Picture unit test 2021-07-03 15:34:43 +09:00
Hermet Park
20c68e3b37 test capi: code refactoring.
keep the coding consistency, no logical changes.

Also, renamed tests to avoid conflicts duplicated names.
2021-06-17 14:57:06 +09:00
Michal Szczecinski
bde0d8e751 utc capi: Added linear gradient tests. 2021-06-17 14:47:35 +09:00
Hermet Park
25b31d9154 test capi: code refactoring.
keep the coding consistency, no logical changes.
2021-06-17 14:38:27 +09:00
Michal Szczecinski
2b78d58c23 utc capi: Added radial gradient tests. 2021-06-17 14:07:11 +09:00
Michal Maciola
858de0febb utc capi: added capiSwCanvas test cases 2021-06-16 20:48:15 +09:00
Hermet Park
c19aa9fed7 tset capi: code refactoring.
revise coding style.
2021-06-16 12:53:26 +09:00
Hermet Park
fe493a93f2 test capi: fix build infrastructure 2021-06-16 12:22:08 +09:00
mmaciola
3f1b08f050
utc capi: Added capi initializer, canvas, paint and shape utc 2021-06-16 12:16:59 +09:00
Hermet Park
90dd1b5f98 tests capi: revise the show-case & infrastructure. 2021-06-12 02:11:01 +09:00
Michal Szczecinski
5b99bc186d utc capi: Added shape fill utc. 2021-06-11 23:42:03 +09:00