diff options
| author | bXi <[email protected]> | 2023-09-02 07:00:18 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-02 13:00:18 +0200 |
| commit | c03ab03627232047c63b11c27567ef3d0a74ca3c (patch) | |
| tree | fe6510daa26e00a6702812a1cd5890cb68130227 /examples/textures/textures_svg_loading.png | |
| parent | 75e5cd86d7d1c4c6e0f266f3ae68f3af34fa78ac (diff) | |
| download | raylib-c03ab03627232047c63b11c27567ef3d0a74ca3c.tar.gz raylib-c03ab03627232047c63b11c27567ef3d0a74ca3c.zip | |
Added rudimentary SVG support. (#2738)
* Added rudimentary SVG support. Added 2 functions ImageLoadSvg and ImageLoadSvgWithSize.
* Added an example on how to use ImageLoadSvgWithSize and adjusted Makefiles accordingly.
* Added actual correct example file.
* Reviewed the code to keep the raylib coding conventions in mind.
Moved the LoadImageSvg() code into LoadImage() guarded by SUPPORT_FILEFORMAT_SVG.
Renamed LoadImageSvgWithSize() to LoadImageSvg().
Added a LoadImageSvgFromString() function to parse the loaded SVG into an actual image. This does the bulk of the work.
* Fixed typo.
---------
Co-authored-by: Ray <[email protected]>
Diffstat (limited to 'examples/textures/textures_svg_loading.png')
| -rw-r--r-- | examples/textures/textures_svg_loading.png | bin | 0 -> 13850 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/examples/textures/textures_svg_loading.png b/examples/textures/textures_svg_loading.png Binary files differnew file mode 100644 index 00000000..fa98605f --- /dev/null +++ b/examples/textures/textures_svg_loading.png |
