Update readme with optional dependencies

This commit is contained in:
Projectitis 2021-09-29 17:29:17 +13:00 committed by Hermet Park
parent a31a04ee2b
commit e9be7ebf43

View file

@ -43,6 +43,7 @@ If your program has the main renderer, your program could call ThorVG APIs while
- [SVG to PNG](#svg-to-png) - [SVG to PNG](#svg-to-png)
- [SVG to TVG](#svg-to-tvg) - [SVG to TVG](#svg-to-tvg)
- [API Bindings](#api-bindings) - [API Bindings](#api-bindings)
- [Dependencies](#dependencies)
- [Issues or Feature Requests](#issues-or-feature-requests) - [Issues or Feature Requests](#issues-or-feature-requests)
[](#contents) [](#contents)
@ -325,6 +326,17 @@ Examples:
## API Bindings ## API Bindings
Our main development APIs are written in C++, but ThorVG also provides API bindings for C. Our main development APIs are written in C++, but ThorVG also provides API bindings for C.
[Back to contents](#contents)
<br />
<br />
## Dependencies
The ThorVG core has no dependencies. However, ThorVG has optional feature extensions. Some of these have dependencies as follows:
* GL renderer: EGL, GLESv2
* PNG support: [libpng](https://github.com/glennrp/libpng)
* JPG support: [turbojpeg](https://github.com/libjpeg-turbo/libjpeg-turbo)
* Examples: [EFL](https://www.enlightenment.org/about-efl.md)
[Back to contents](#contents) [Back to contents](#contents)
<br /> <br />
<br /> <br />