Hermet Park
|
1d88e13d29
|
Revert "common: Update license infomation"
This reverts commit 4c87f18345 .
Come to think of it, this is not correct.
Apply the copyright to only files from the original source code.
|
2021-10-20 22:18:19 +09:00 |
|
JunsuChoi
|
4c87f18345
|
common: Update license infomation
Update LICENSE by adding BSD license.
|
2021-10-20 21:52:03 +09:00 |
|
Michal Maciola
|
d7a3aa580a
|
svg_loader: fix potential mem corruption in _idFromUrl function
This patch fixes some potential memory corruptions in _idFromUrl function
when name (url) is longer than 50 chars or is incorrectly terminated.
|
2021-10-20 10:34:02 +09:00 |
|
Mira Grudzinska
|
e0aa007659
|
common: new api for a grad transformation
The new apii allows to transform the gradient fill.
|
2021-10-19 17:43:24 +09:00 |
|
JunsuChoi
|
fe35f69530
|
common: Fix typo
|
2021-10-19 16:28:28 +09:00 |
|
Mira Grudzinska
|
e6f8aa1379
|
capi: example modified
|
2021-10-19 10:27:37 +09:00 |
|
Hermet Park
|
a3ecff9504
|
svg_loader util: fix the floating constant truncated to zero issue.
fyi, the minimum value of the float is 1.175494351 E-38
@Issue: https://github.com/Samsung/thorvg/issues/899
|
2021-10-15 15:20:01 +09:00 |
|
Mira Grudzinska
|
1abee9f8d5
|
svg_loader: fixing viewBox clipping
For vw=width and vh=height, vx or vy > 0 had no effect. Fixed
|
2021-10-15 12:33:26 +09:00 |
|
Michal Maciola
|
e186bb4a82
|
svg_loader util: fix missing quot
There was checking for 0 ('\0') that should be checking for '0'
|
2021-10-15 02:04:17 +09:00 |
|
Hermet Park
|
2a2faca66a
|
Update README.md
|
2021-10-14 16:18:46 +09:00 |
|
Hermet Park
|
bd14cb62b9
|
Update README.md
|
2021-10-14 16:16:26 +09:00 |
|
Hermet Park
|
feec6bda9c
|
Add files via upload
|
2021-10-14 16:16:06 +09:00 |
|
Hermet Park
|
89a6f0e682
|
Delete example_tvg.png
|
2021-10-14 16:15:21 +09:00 |
|
Hermet Park
|
fcdfc54f99
|
Add files via upload
|
2021-10-14 16:14:09 +09:00 |
|
Hermet Park
|
91e7ea4f99
|
Delete example_tvg.png
|
2021-10-14 16:13:34 +09:00 |
|
Hermet Park
|
f61b84f673
|
Update README.md
|
2021-10-14 16:12:36 +09:00 |
|
Hermet Park
|
13b679a74b
|
Add files via upload
|
2021-10-14 16:12:04 +09:00 |
|
Hermet Park
|
c3a0eceec6
|
Delete example_tvg.png
|
2021-10-14 16:11:37 +09:00 |
|
Hermet Park
|
f4d284df2a
|
infra: add "all" option for tools.
just for developer convenience.
|
2021-10-14 14:54:24 +09:00 |
|
Mira Grudzinska
|
95430fc645
|
capi: change defines to enum
Tvg_Engine enum introduced to replace TVG_ENGINE_SW/GL defs.
|
2021-10-14 12:39:54 +09:00 |
|
Mira Grudzinska
|
78b7b278c0
|
tests: saver capis added into the tests
|
2021-10-13 21:25:44 +09:00 |
|
Michal Maciola
|
1f42f7da89
|
wasm: saveTvg add compress option
|
2021-10-13 21:24:53 +09:00 |
|
Hermet Park
|
d9f421ff4a
|
svg_loader util: just fix a typo
exponet -> exponent
|
2021-10-13 20:12:51 +09:00 |
|
Hermet Park
|
5a6240bdf3
|
svg_loader util: code refactoring
fix for thorvg coding convention.
no logical changes.
|
2021-10-13 20:07:08 +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 |
|
Hermet Park
|
0f0a0ae4f0
|
bindings capi: code refactoring
fix for code consistency, no logical changes.
|
2021-10-13 19:02:55 +09:00 |
|
Mira Grudzinska
|
600055dacd
|
capi: saver capis added
|
2021-10-13 18:58:18 +09:00 |
|
Mira Grudzinska
|
d40d2ea288
|
capi: introduced Tvg_Colorspace enum instead of defs
Used in the tvg_swcanvas_set_target() capi.
|
2021-10-13 18:55:17 +09:00 |
|
Mira Grudzinska
|
0bffe930ad
|
tvg_saver: fix the argument of the sizeof call
We got the size of a pointer instead of the size of a whole table.
Fixed now
|
2021-10-13 18:46:21 +09:00 |
|
Mira Grudzinska
|
0497ac894e
|
svg_loader: removed unused variable
The gradient values passed to the scene builder are always given as percentages,
so there is no need to mark/check that.
|
2021-10-13 18:40:05 +09:00 |
|
Mira Grudzinska
|
a4d2a99c03
|
tests: tvg_gradient_duplicate added to the capi tests
|
2021-10-13 18:34:02 +09:00 |
|
Mira Grudzinska
|
e0488f4a8d
|
capi: tvg_gradient_duplicate() added
|
2021-10-13 18:34:02 +09:00 |
|
Mira Grudzinska
|
39af185de8
|
docs: ++
|
2021-10-12 14:04:18 +02:00 |
|
Mira Grudzinska
|
6a63a5feac
|
docs: saver module description ++
|
2021-10-12 14:52:20 +09:00 |
|
Mira Grudzinska
|
c2bbdccac1
|
svg_loader: removed unnecessary casting
The used scaling factor should be a float - casting it to an int caused
misevaluation of the radial gradient radius
|
2021-10-11 18:59:23 +09:00 |
|
Hermet Park
|
4219d2b8ea
|
tools svg2tvg: remove unused header
|
2021-10-11 15:43:28 +09:00 |
|
Mira Grudzinska
|
883e44ad40
|
svg2tvg: added missing array lib
|
2021-10-11 15:30:36 +09:00 |
|
projectitis
|
dad6c71b6c
|
all: fix warnings on MSVC
* Explicit casts to suppress warnings
* Fixed compiler warnings
|
2021-10-09 11:33:45 +09:00 |
|
Michal Maciola
|
e12729e0d3
|
wasm: fix compilation
After 'all: fixing clang warnings' (e7c3a91 ) there was a problem with wasm
compilation, as strncpy and strdup.
Disable define is __EMSCRIPTEN__.
|
2021-10-09 11:32:27 +09:00 |
|
Michal Maciola
|
cba7cf0e2b
|
example: added image-embeded-jpeg.svg (#890)
|
2021-10-08 17:38:18 +02:00 |
|
Hermet Park
|
016c2c34dd
|
Update CONTRIBUTING.md
|
2021-10-07 19:59:33 +09:00 |
|
Hermet Park
|
b02af7d77b
|
infra: renamed build badge names.
|
2021-10-07 15:38:47 +09:00 |
|
Hermet Park
|
b97f9338dd
|
test: ++safety.
add null handlings just in case.
|
2021-10-07 15:04:46 +09:00 |
|
Mira Grudzinska
|
304a351dcc
|
tests: added tests for size and composite C apis
|
2021-10-07 15:03:28 +09:00 |
|
Mira Grudzinska
|
236c777466
|
docs: TVG logo svg file added to the docs directory
The logo path is changed in the Doxygen file.
|
2021-10-07 15:02:24 +09:00 |
|
JunsuChoi
|
5e7981106b
|
infra : add window build (with loaders)
|
2021-10-07 15:00:48 +09:00 |
|
projectitis
|
a678846068
|
tests: fix stack overflow error in testPicture for windows
|
2021-10-07 14:51:07 +09:00 |
|
Mira Grudzinska
|
a16e91b441
|
all: fix compiler warnings
pow->powf and sqrt->sqrtf
|
2021-10-07 14:49:00 +09:00 |
|
projectitis
|
a04349ac71
|
examples, tests: replace backslashes with forward slashes for portability (#880)
* Replace backslashes with forward slashes
* Downgrade to older meson syntax
|
2021-10-06 22:18:56 +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 |
|