summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
authorbXi <[email protected]>2023-09-02 07:00:18 -0400
committerGitHub <[email protected]>2023-09-02 13:00:18 +0200
commitc03ab03627232047c63b11c27567ef3d0a74ca3c (patch)
treefe6510daa26e00a6702812a1cd5890cb68130227 /examples/Makefile
parent75e5cd86d7d1c4c6e0f266f3ae68f3af34fa78ac (diff)
downloadraylib-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/Makefile')
-rw-r--r--examples/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 7028a954..4ba4f172 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -475,7 +475,8 @@ TEXTURES = \
textures/textures_draw_tiled \
textures/textures_polygon \
textures/textures_gif_player \
- textures/textures_fog_of_war
+ textures/textures_fog_of_war \
+ textures/textures_svg_loading
TEXT = \
text/text_raylib_fonts \